Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Answer: GET and POST HTTP_REFERER protected form?

by chipmunk (Parson)
on Aug 21, 2001 at 01:41 UTC ( #106392=categorized answer: print w/replies, xml ) Need Help??

Q&A > HTTP and FTP clients > GET and POST HTTP_REFERER protected form? - Answer contributed by chipmunk

If you're using LWP::UserAgent and HTTP::Request, you can specify the HTTP_REFERER using HTTP::Request's header() method:
# set up the user agent... $req = HTTP::Request->new(GET => 'http://www.example.com'); $req->header('Referer' => 'http://www.yahoo.com'); # make the request and so on...

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2020-07-02 06:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?