[PHP] displaying client IP address

2002-06-01 Thread Hugo Gallo

I an effort to deter fraudulent credit cards, I'd like to display the
client's IP address. Anyone know how this is done with PHP scripting?

There is SSI code  Perl code for this, but I need to have this be a .php
page since it's talking to MySQL.

Any help would be much appreciated.

Hugo



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




Re: [PHP] displaying client IP address

2002-06-01 Thread Gerard Samuel

$_SERVER['REMOTE_ADDR']

Hugo Gallo wrote:

I an effort to deter fraudulent credit cards, I'd like to display the
client's IP address. Anyone know how this is done with PHP scripting?

There is SSI code  Perl code for this, but I need to have this be a .php
page since it's talking to MySQL.

Any help would be much appreciated.

Hugo



  


-- 
Gerard Samuel
http://www.trini0.org:81/
http://dev.trini0.org:81/




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




Re: [PHP] displaying client IP address

2002-06-01 Thread Bogdan Stancescu

http://www.faqts.com/knowledge_base/view.phtml/aid/186

Hugo Gallo wrote:

I an effort to deter fraudulent credit cards, I'd like to display the
client's IP address. Anyone know how this is done with PHP scripting?

There is SSI code  Perl code for this, but I need to have this be a .php
page since it's talking to MySQL.

Any help would be much appreciated.

Hugo



  





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