Gossamer Forum
Home : General : Perl Programming :

print "Location: http://yahoo.com\n" ; doesn't worl on NT - pls help !

Quote Reply
print "Location: http://yahoo.com\n" ; doesn't worl on NT - pls help !
Hello !

I'm using NT server - I don't know why in this server I got the error when I use the code :

$url ="http://yahoo.com";

print "Location: $url\n";

The error was : the script writes the text below on the browser :

Location: http://yahoo.com

I have used the code above on some other NT server and it worked - Anyone can tell me why in this current NT server I got the text output on the browser instead direct to yahoo homepage?

Please help !

Thanks !
Subject Author Views Date
Thread print "Location: http://yahoo.com\n" ; doesn't worl on NT - pls help ! newage24 2110 Jan 7, 2002, 10:47 PM
Thread Re: [newage24] print "Location: http://yahoo.com\n" ; doesn't worl on NT - pls help !
Andy 1891 Jan 7, 2002, 11:51 PM
Post Re: [AndyNewby] print "Location: http://yahoo.com\n" ; doesn't worl on NT - pls help !
sponge 1886 Jan 8, 2002, 12:21 AM