Re: [PHP] script PHP to detect IP address

2004-12-20 Thread welly limston


[EMAIL PROTECTED] wrote:
the REMOTE_ADDR environment variable (aka php superglobal) will give 
you the IPnumber of the inbound client.


-- Original Message --
 From: welly limston 
 To: [EMAIL PROTECTED]
 Date: Friday, December 17, 2004 06:17:56 PM -0800
 Subject: [PHP] script PHP to detect IP address


 Anybody out there who know the PHP script that can use to detect an
 IP address of a PC?

 If u don’t know, maybe some sites address which have related with
 this topic, might be point me little.



 Many your help very appreciate.

 Thank’s so much for ur respone





 -
 Do you Yahoo!?
 Yahoo! Mail - You care about security. So do we.

-- End Original Message --

thank you for u information 

it's very usefull for me

regards;

welly

 

 

 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[PHP] script PHP to detect IP address

2004-12-17 Thread welly limston
 
Anybody out there who know the PHP script that can use to detect an IP address 
of a PC?

If u don’t know, maybe some sites address which have related with this topic, 
might be point me little. 

 

Many your help very appreciate.

Thank’s so much for ur respone

 



-
Do you Yahoo!?
 Yahoo! Mail - You care about security. So do we.

RE: [PHP] script PHP to detect IP address

2004-12-17 Thread Warren Vail
hmmm, perhaps you are not clear about how IP addresses are used (assigned
and reassigned), if your interest is the ip address of a PC connected to
your website or the ip of the website, probably depends on your web server,
for my apache server;

$_SERVER[SERVER_ADDR] (apache server IP address, at least the one being
used by my connection)
$_SERVER[REMOTE_ADDR] (browser IP address, that is connected to my task)

If on the other hand you are talking about a stand alone script, you need to
understand how IP addresses are assigned as needed (there is probably no one
IP address that identifies a single PC in most cases), there are a few
exceptions where fixed IP addresses are assigned, but more often not.
Perhaps if you were to identify what you are trying to find out, asking that
question would get you a more definitive answer?

good luck,

Warren Vail

 -Original Message-
 From: welly limston [mailto:[EMAIL PROTECTED]
 Sent: Friday, December 17, 2004 6:18 PM
 To: [EMAIL PROTECTED]
 Subject: [PHP] script PHP to detect IP address



 Anybody out there who know the PHP script that can use to detect
 an IP address of a PC?

 If u dont know, maybe some sites address which have related with
 this topic, might be point me little.



 Many your help very appreciate.

 Thanks so much for ur respone





 -
 Do you Yahoo!?
  Yahoo! Mail - You care about security. So do we.

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