That will re-direct the browser to a URL from which the pdf file can be 
obtained.
Alterntely you can print something like (since I do not know exactly what 
the browser will accept)
Content-type: application/pdf \n\n
and then read and print the pdf file.

On 9 May 00, at 15:10, Ian Batterbee wrote:

Date sent:              Tue, 9 May 2000 15:10:29
Subject:                Re: Redirection
To:                     "Perl-Win32-Users Mailing List" 
<[EMAIL PROTECTED]>
From:                   "Ian Batterbee" <[EMAIL PROTECTED]>
Send reply to:          "Ian Batterbee" <[EMAIL PROTECTED]>

> You should add the line "Location: http://www.wherever.com\n" before where 
> you output "Content-Type: text/html\n\n" at the start of your script.
> 
> Just in case the browser doesn't honour it, you should also put something 
> along the lines of "Click here to continue>" in the body of the html.
> 
> 
> 
> On 05/08/00, ""Naeemah Small" <[EMAIL PROTECTED]>" wrote:
> > This is my problem.  I wrote a c cgi script.  The user inputs information
> > and the information is to a pdf file.  Now, I need to know how can I
> > redirect to another html page after the user click on the submit button.
> > The c cgi is an *.exe file.
> > Please someone help me?
> > 
> > 
> > Naeemah Small
> > Web Programmer
> > Subia Corp.
> > www.subiacorp.com
> > [EMAIL PROTECTED]
> > 602/275-6565
> 
> ---
> You are currently subscribed to perl-win32-users as: [EMAIL PROTECTED]
> To unsubscribe, forward this message to
>          [EMAIL PROTECTED]
> For non-automated Mailing List support, send email to  
>          [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]

Reply via email to