Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: if statement based on HTTP_REFERER

by Perlbotics (Archbishop)
on Apr 09, 2015 at 16:56 UTC ( [id://1122973]=note: print w/replies, xml ) Need Help??


in reply to if statement based on HTTP_REFERER

Yes, it's possible.
You will most probably need some kind of locking (see flock) in order to avoid, that simultaneous invocations do interfere. Have a look at a logging framework like i.e. Log::Log4perl. It will allow you to have diffent loggers, log-rotation, locking etc.

Update: You also need to check for empty/undefined HTTP_REFERER.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2024-04-23 10:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found