$_SERVER problem
Posted: Sat Mar 13, 2004 2:58 am
Hello friends,
I am unable to find the ip address of the server,i am using following code.
<?php
echo $_SERVER['SERVER_ADDR'];
?>
But i am unable to see the address, i have register_global=on in my php.ini file is it make any problem .In a project i have to put register_global to on ,now how can i view the ip address of the server.
Plz. suggest me
Softsolvers
I am unable to find the ip address of the server,i am using following code.
<?php
echo $_SERVER['SERVER_ADDR'];
?>
But i am unable to see the address, i have register_global=on in my php.ini file is it make any problem .In a project i have to put register_global to on ,now how can i view the ip address of the server.
Plz. suggest me
Softsolvers