in reply to Send PDF into browser plug-in

Can you describe a bit more about the problem you are experiencing?

I think your problem could be that the browser pop's up a "Save or Open" dialog box when it receives the PDF?

It could mean that the mime-type in the Content-type in the HTML header is wrong. Check your content type by running the CGI script on the command-line and redirect its output to a temporary file.

Replies are listed 'Best First'.
Re: Re: Send PDF into browser plug-in
by nite_man (Deacon) on Oct 20, 2003 at 10:51 UTC

    I know it, thanks. Problem is in method sendfile(<FILE HANDLER>)( it replaced method send_fd(<FIEL HANDLER>)). This method returns 2 and doesn't send file into browser.

    -- Michael Stepanov