Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: HTTP_REFERER "control"

by b10m (Vicar)
on May 09, 2004 at 15:22 UTC ( [id://351849]=note: print w/replies, xml ) Need Help??


in reply to HTTP_REFERER "control"

Yet another question which shows you really need to read up on LWP and HTTP headers in general. It's all there ;-) But ok, a quick'n'dirty example:

use LWP::UserAgent; my $ua = LWP::UserAgent->new(); my $req = HTTP::Request->new( GET => $url ); $req->header(REFERER => "http://faked.referer.invalid"); $ua->request($req);
--
b10m

All code is usually tested, but rarely trusted.

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (10)
As of 2024-05-20 15:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found