Hi,
>>> On Mon, 8 May 2000 19:20:26 -0700, Naeemah Small (Naeemah) wrote:
Naeemah>
Naeemah> This is my problem. I wrote a c cgi script. The user inputs information
Naeemah> and the information is to a pdf file. Now, I need to know how can I
Naeemah> redirect to another html page after the user click on the submit button.
Naeemah> The c cgi is an *.exe file.
Naeemah> Please someone help me?
Naeemah>
With CGI.pm that's simple. Leaving out the rest of your script:
use CGI qw(:standard);
...
$query = new CGI;
...
print $query->redirect('http://somewhere.else/in/movie/land');
The last statement should be changed to:
print $query->redirect(-uri=>'http://somewhere.else/in/movie/land',
-nph=>1);
if you run the script through IIS (it doesn't harm on Netscape servers).
Anyway it is the last thing your script outputs.
Cheers,
Karel
--
Karel Sprenger <[EMAIL PROTECTED]> | phone : +31-30-283 4842
Professional Services | mobile: +31-6-5178 5034
Compaq Computer Corporation | fax : +31-30-283 4980
Europalaan 44, NL-3526 KS Utrecht | home : +31-20-670 0942
*** PGP Public Key available on servers *** | email : [EMAIL PROTECTED]
---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
[EMAIL PROTECTED]
For non-automated Mailing List support, send email to
[EMAIL PROTECTED]