Doubt in PHP
| From: | Treasure Solutions | Date: | Mon, 05 Jun 2000 09:55:13 +0000 |
| Subject: | Doubt in PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-1028@lists.php.net to get a copy of this message | ||
Sir/Madam,
We are working in PHP and we do not know how to obtain the IP address of the
client system from the server. When we give the command
echo REMOTE_ADDR;
we get only the IP address of the local host which is 127.0.0.1.
But if we want to get the actual IP address of the client how do we do that?
Please do clear our doubts.
If we know the system name how can we obtain the IP address using the name of
the system. Do we have any specific function to obtain that.
Please do reply.
Thanking you in advance,
Regards,
Sujatha.
Software Programmer - Treasure solutions software.
____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1