Re: [PHP] IP <-> URL

2002-02-11 Thread Girish Nath
Hi $HTTP_SERVER_VARS["SERVER_ADDR"] ? Girish -- www.girishnath.co.uk - Original Message - From: "Balaji Ankem" <[EMAIL PROTECTED]> To: "* R&zE:" <[EMAIL PROTECTED]> Cc: "Php-General" <[EMAIL PROTECTED]> Sent: Monday, F

[PHP] IP <-> URL

2002-02-11 Thread Balaji Ankem
No Renze, what I really want is in the calling php file itself I want to get the IP address. Say some test.php..I call this file like http://10.145.2.23/test.php I want to get 10.145.2.23 in test.php file itself. I think parse_url will help me. But I don't know how to pass the current