Ramil,
On Sep 30, 2004, at 1:17 AM, Ramil Sagum wrote:
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
x27;]) && $_SERVER['REMOTE_ADDR'] &&
strcasecmp($_SERVER['REMOTE_ADDR'], "unknown"))
$ip = $_SERVER['REMOTE_ADDR'];
else
$ip = "x"; // if this happens, then oh noz :-(
return $ip;
}
-Original Message-
Fr
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
balwant,
It seems to be working for me. I have looked at it from multiple
computers, and it always gives the ip of that computer. Try for yourself:
http://housing.uark.edu/resnet/ip.php
Let me know if you get something other than your ip.
~Philip
balwantsingh wrote:
i tried the $_SERVER['REMOTE_A
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.
with best wishes
balwant
-Original Message-
From: Philip Thompson [mailto:[EMAIL PROTECTED]
Sent: Thu
PROTECTED]
Subject: RE: [PHP-DB] IP Address?
Thanks, Craig. That was exactly what I was looking for!
-Rob
-Original Message-
From: Craig Vincent [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 19, 2002 2:35 PM
To: Rob Day; [EMAIL PROTECTED]
Subject: RE: [PHP-DB] IP Address?
> How c
Thanks, Craig. That was exactly what I was looking for!
-Rob
-Original Message-
From: Craig Vincent [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 19, 2002 2:35 PM
To: Rob Day; [EMAIL PROTECTED]
Subject: RE: [PHP-DB] IP Address?
> How can I find out the IP address of the cli
> How can I find out the IP address of the client requesting a
> given php file?
> I know that you can use $HTTP_SERVER_VARS["REMOTE_ADDR"] in more recent
> versions of PHP. Unfortunately, we only have PHP3.0.14 and I don't think
> that this option is available in our ancient version. I also can't
How can I find out the IP address of the client requesting a given php file?
I know that you can use $HTTP_SERVER_VARS["REMOTE_ADDR"] in more recent
versions of PHP. Unfortunately, we only have PHP3.0.14 and I don't think
that this option is available in our ancient version. I also can't use
serve
Hi All,
I'm just starting on a database to track IP addresses. I'm thinking about
how best to store the IP address - 4 tinyints, varchar or char; as one big
varchar or 4 chunks?
We will eventually want to look at things by net or subnet and being able to
search on the various parts of the addre
10 matches
Mail list logo