CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: General Discussions: General Questions:
Check Http Request Headers


New User

Jan 30, 2009, 4:22 AM

Post #1 of 1 (2784 views)
Check Http Request Headers Can't Post

Hi Guys,

I have a test webserver, and based on what request headers i receive i want to end back a 302.

So i want to do the following;

print "status: 302\n";
print "location:\n";
print "Content-type: text/plain\n";
print "\n";
print <<"EOM";
Go read the news

as an example but only based on what request headers i receive. Any you guys know how to check for the headers or how i should do this. Help much appreciated. Thanks.


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives