> 
> What is the perl code to redirect to a new url, in cgi.  All I need is to
> execute a perl script and when its done to redirect the clients
browser to a
> new location.
> I am running Windows 2000 and IIS.
>  
> 

If you are using CGI.pm then it has a 'redirect' method:

http://search.cpan.org/~lds/CGI.pm-3.00/CGI.pm#GENERATING_A_REDIRECTION_HEADER

If you are not, then you just need to send a properly formed "location"
header:

print "Location: http://danconia.org\n\n";;

http://danconia.org


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to