Existing users, log in.  New users, create a free account.  Lost password?

Mac OS X  |  IT & Network Administration  |  Other Network / Admin  |  IP  |  php snippet

IP

IP

displays your available IP addresses in the menu bar

Version:  5.5

   [ Views: 480 ]

php snippet

Feedback Type:  Commentary

Contributed by: grikdog Monday, October 18 2004 @ 02:50 PM PDT

Product Platform: MacOSX

Used Product For: Less than a month

Recommend Product: NO

<?php
$myip = rtrim( shell_exec("tail -n4 /var/log/ppp.log | grep 'local' | cut -b 46-") );
?>
  

1 of 1 users found this helpful.

Rate this Commentary

Was this Commentary helpful? Yes | No

Comments

1 comments |

php snippet - fusion--2008

no content

Reply to This

Thursday, November 25 2004 @ 12:24 PM PST