[PHP] displaying client IP address
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
$_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
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