For Programmers: Free Programming Magazines  


Home > Archive > PHP Language > October 2006 > Get the server's ip address









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Get the server's ip address
at(nospam)

2006-10-15, 3:56 am

Hey

I'm looking for a script, which finds the ip address of the server, it's
running on
It should be compatible with both Linux and Windows
Chenky

2006-10-15, 3:56 am

Hi,

Try this:
$_SERVER['SERVER_ADDR'];

Regards,
Josh

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com