* Thus wrote Erick Okasaki ([EMAIL PROTECTED]):
> Hello List,
> 
> How can I get IP Address from my connection ppp0 or ppp1 in Linux? What 
> 's the function?
> 

This might work.

$ip = `ifconfig ppp0 | grep netmask | cut -f 2 -d ' ' | tail -1`;


Curt
-- 
"I used to think I was indecisive, but now I'm not so sure."

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to