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

[PHP] Problems with header()

2005-06-17 Thread =?iso-8859-1?q?Mart=EDn_Marqu=E9s?=
I have to send a PDF file after a submit on a form. The PDF is well created, and I'm sending it to the client with this: $fpdfName = "/tmp/" . session_id() . ".pdf"; // Vamos a mandar el PDF header('Content-type: application/pdf'); // El archivo se va a llamar libreDeuda.pdf header('Content-Disp

RE: [PHP] Problems with header

2002-12-06 Thread Charles Bronson
Sent: Friday, December 06, 2002 3:31 PM To: [EMAIL PROTECTED] Subject: [PHP] Problems with header I'm use header("Location: http://www.ica.gov.co/contratacion/RObs_borradores?control=1";); but the answer is Warning Cannont add header information - headers already send by

Re: [PHP] Problems with header

2002-12-06 Thread Stephen
er 06, 2002 3:31 PM Subject: [PHP] Problems with header I'm use header("Location: http://www.ica.gov.co/contratacion/RObs_borradores?control=1";); but the answer is Warning Cannont add header information - headers already send by (output started at G:\Intranet\common\mail.php:36)

[PHP] Problems with header

2002-12-06 Thread Carlos Alberto Pinto Hurtado
I'm use header("Location: http://www.ica.gov.co/contratacion/RObs_borradores?control=1";); but the answer is Warning Cannont add header information - headers already send by (output started at G:\Intranet\common\mail.php:36) in G:\Intranet\common\mail.php on line 37 Carlos Alberto Pinto Hurta