|
Main /
TipsSlackware 10.2 Apache Log file /var/log/apache/... Display IP Address On a remote server to display the IP of the the requesting computer I used this <?php You might be able to use http://checkip.dyndns.org:8245/ and clean it up a bit with grep and or sed Save Page Results as Text File Using the php page from above on my hosted site, so from my home computer I can use lynx ro return just my IP address, (you use this on the client to store the IP address in a text file). lynx -dump "http://www.virtual-weltanschauung.com/t3.php" > ip.log Whereas with a web brower it would simply display the IP number, this puts it wherever you want it. See my Linux tidbits part http://www.virtual-weltanschauung.com/pmwiki/pmwiki.php?n=Main.Tidbits |