On Mon, 26 Jan 2004 10:01:09 -0500, Aaron Rubin wrote:
>I'm trying to get user's IP in payment module for location based credit
>card validation.
>$CGI::remote_addr is giving me the servers IP. How do I get the IP?
It should do - you're not trying to run this from a shell on the
server and reading the wrong ip?
Eg:
my $ip = $CGI::remote_addr;
my $host = $CGI::remote_host;
::logDebug("ip=$ip, host=$host");
running a test order through the catalogue will log the correct
ip and host of the originating system.
>Thanks.
>aaron
>
>--
>Aaron Rubin
>http://www.KarateDepot.com
>1-877-216-2669 x12
-
Cheers
Lyn St George
+---------------------------------------------------------------------------------
+ http://www.zolotek.net .. eCommerce hosting, consulting
+----------------------------------------------------------------------------------
_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.