[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl-WebCGI] Can a cgi script call an URL?



>Is there another way (IF this is one) to have a script 'direct' the browser
>to an URL?
>

#!/usr/local/bin/perl5

alarm(15);

print "Content-type: text/html\n\n";

print <<"EOF";
<HTML><HEAD>
<META HTTP-EQUIV="Refresh" CONTENT="0;
URL=env_var.cgi/http://www.domain.com/index.htm/?this=that&foo=fee">
<TITLE></TITLE>
</HEAD>
<BODY>
</BODY>
</HTML>

EOF


__END__


See my previous reply for the code to env_var.cgi.


David Seay
http://www.mastercall.com/g-s/



==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-webcgi-request@macperl.org