On Thu, 30 Sep 2004 11:00:35 +0530, balwantsingh
<[EMAIL PROTECTED]> wrote:
> i tried the $_SERVER['REMOTE_ADDR'] it is giving ip address of server which
> is hosting the webpage not the user's ip address.   pls. suggest how can IP
> address of an user can be obtained.

what exactly did you do? the following script works:

===
<html><body>
Your IP Address is : 
<?php echo $_SERVER["REMOTE_ADDR"]; ?>
</body></html>
===


----

ramil

http://ramil.sagum.net

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to