From: [EMAIL PROTECTED] Operating system: PHP version: 4.2.1 PHP Bug Type: *Network Functions Bug description: getting ip for eth0
I'd like to request a function to retrieve the IP address(es) of a given network interface... something that would let me: $ip = ifaddr("eth0"); maybe even something more general like: $info = ifconfig("eth0") echo $info["HWAddr"], $info["Mask"]; echo $info["RX-packets"], $info["RX-errors"], etc. -- Edit bug report at http://bugs.php.net/?id=17400&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=17400&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=17400&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=17400&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=17400&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=17400&r=support Expected behavior: http://bugs.php.net/fix.php?id=17400&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=17400&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=17400&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=17400&r=globals