Re: [PHP] Problems with header()

2005-06-18 Thread Martín Marqués
El Sáb 18 Jun 2005 01:38, Tom Rogers escribió: > > Here is a script I use to send pdfs which also handles caching > information. It may just be you are missing the content-length header? [snip] > header("Accept-Ranges: bytes"); > header('Cache-Control: no-cache, must-revalidate'); > header("Conte

Re: [PHP] Problems with header()

2005-06-17 Thread Tom Rogers
Hi, Saturday, June 18, 2005, 7:55:10 AM, you wrote: MM> I have to send a PDF file after a submit on a form. The PDF is well created, MM> and I'm sending it to the client with this: MM> $fpdfName = "/tmp/" . session_id() . ".pdf"; MM> // Vamos a mandar el PDF MM> header('Content-type: application

RE: [PHP] Problems with header

2002-12-06 Thread Charles Bronson
It looks like your trying to do something before redirecting the user. Try the below near the end of your script so everything completes before redirecting them. Echo "; Bronson_AT_udatasystems.com -Original Message- From: Carlos Alberto Pinto Hurtado [mailto:[EMAIL PROTECTED]] Sent: Fr

Re: [PHP] Problems with header

2002-12-06 Thread Stephen
Plainly put, you've already sent headers. Wheather it be an tag, a plain character, or just a space. Check line 37 and see what it is... - Original Message - From: "Carlos Alberto Pinto Hurtado" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, December 06, 2002 3:31 PM Subject: