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

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
Won't work!! D@*& it!!

 



axaflaxar
Novice

Nov 19, 2002, 8:25 AM

Post #1 of 2 (907 views)
Won't work!! D@*& it!! Can't Post

Can ayone tell me why this simply will not redirect.It printing out the damn location and not sending me to it.

#!/usr/bin/perl
use CGI ":standard";
print header;start_html (TMPASSWORD);
$password=param('TM');
if ($password eq 'TM')
{
print "Location: http://chemtroninc.com/SERVICES.HTML\n\n";
}


Paul
Enthusiast

Nov 19, 2002, 9:03 AM

Post #2 of 2 (905 views)
Re: [axaflaxar] Won't work!! D@*& it!! [In reply to] Can't Post

Because you are printing a header when you shouldn't be.

 
 


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

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