[snip]
How can I get IP Address from my connection ppp0 or ppp1 in Linux? What
's the function?
[/snip]
shootin' from the hip .... because I am looking for something like this
as well. I would also like to be able to activate PPP...need some serial
port control. Here are my thoughts on your question...from the hip and
very much untested...
Load ifconfig into a variable something like
$strIfconfig = exec("ifconfig");
Then use regex to parse $strIfconfig for the info you need.
Let me know what happens.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php