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 >pag

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.

[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 --