Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: $ENV{REMOTE_ADDR} problem

by bigup401 (Pilgrim)
on Oct 23, 2018 at 11:33 UTC ( [id://1224547]=note: print w/replies, xml ) Need Help??


in reply to Re: $ENV{REMOTE_ADDR} problem
in thread $ENV{REMOTE_ADDR} problem

good response @lnickt

i thought this would work also in cgi $ENV{REMOTE_ADDR}

i changed to $cgi->remote_addr() and works

Replies are listed 'Best First'.
Re^3: $ENV{REMOTE_ADDR} problem
by marto (Cardinal) on Oct 23, 2018 at 11:44 UTC

    You should take what 1nickt wrote and give it due consideration. You didn't post a working script, what you posted makes no sense at all. You said that $query contains a string (you didn't enclose it in quotes, nor end the line with a ;) and are now claiming that "select my remote_ip from tbl where me = me" is not equal to a value returned by $cgi->remote_addr(). This makes no sense

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1224547]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-04-19 11:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found