Do you have some kind of local proxy server that's passing requests to
CF and rewriting the IP address?  I could imagine that scenario for
circumventing the CF licensing restrictions to use developer edition
in production.

cheers,
barneyb

On 6/27/06, Andy Matthews <[EMAIL PROTECTED]> wrote:
> I'm supposed to be storing the user's IP address in a table. I looked up the
> docs and chose  CGI.REMOTE_ADDR as the "right" variable. Now the client
> emails me and says that all of the form submissions are coming from
> 127.0.0.1. I check in the database and indeed, every one of the submissions
> is shown as coming from that address. So I thought I'd try remote_host, but
> that one does the same thing.
>
> So then I dumped the entire CGI scope and every instance of IP address is
> lsited as 127.0.0.1. You can see here I'm dumping remote_addr and
> remote_host.
>
> http://bigcomfycouch.com/NEWask.cfm
>
> But when I output them via our Perl test script:
> http://bigcomfycouch.com/cgi-bin/env.pl
>
> I get the "correct" IP addy.
>
> What's going on?
>
> <!----------------//------
> andy matthews
-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 100 invites.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244889
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to