redirects
Bill Jones
bill at fccj.org
Wed May 19 09:49:17 CDT 1999
On the Jax.PM jacksonville-pm-list 1.94.4;
"Bill Jones" <bill at fccj.org> wrote -
>From: Daniel Stringfield <dstringf at fccjmail.fccj.cc.fl.us>
>To: bill at fccjmail.fccj.cc.fl.us
>Subject: redirects
>Date: Wed, May 19, 1999, 10:09 AM
>
> With CGI.pm, whats the option to do a redirect?
>
> Printing header is done like this...
> $q->header;
>
> So it must be something like...
> $q->header(-redirect=>'http://www.fccj.org/blah.html');
>
> is that it?
Close :]
Try -
$q->redirect(-location=>'http://www.fccj.org/blah.html');
But why not simply use -
print "Location: http://newserver.loc.com/somepage.html\n\n";
???
-Sneex- :]
______________________________________________________________________
Bill Jones Data Security Specialist http://www.fccj.org/cgi/mail?dss
http://certserver.pgp.com:11371/pks/lookup?op=get&search=0x37EFC00F
http://www.networksolutions.com/cgi-bin/whois/whois?BJ1936
Jacksonville Perl Mongers
http://jacksonville.pm.org
jax at jacksonville.pm.org
The Jacksonville Perl Monger's Group is operated by -
Bill -Sneex- Jones ( sneex at usa.net ),
to whom send all praises, complaints, or comments...
More information about the Jacksonville-pm
mailing list