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

Re^2: please help to exclude my own IP address.

by gman (Friar)
on May 02, 2005 at 14:19 UTC ( [id://453365]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re: please help to exclude my own IP address.
in thread please help to exclude my own IP address.

Sorry that should be
if($ENV{REMOTE_ADDR} ne '10.10.0.1') { your code }

Replies are listed 'Best First'.
Re^3: please help to exclude my own IP address.
by nimdokk (Vicar) on May 02, 2005 at 14:25 UTC
    You could also flip the logic and say something like:

    exit if ($ENV{REMOTE_ADDR} =~ '10.10.0.1');
Re^3: please help to exclude my own IP address.
by amalgama (Initiate) on May 02, 2005 at 14:57 UTC
    where exactly should goes this line?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://453365]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.