* Thus wrote [EMAIL PROTECTED] ([EMAIL PROTECTED]):
>     header("Content-Disposition: attachment; filename=$file");
>     header("Content-Length: " . filesize($path));
>     header("Content-Type: " . filetype($path));

I didn't see this the first time, you should be calling:
  mime_content_type()

And ensure that there is mime type defined in magic.mime for pdf.


Curt
-- 
"I used to think I was indecisive, but now I'm not so sure."

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to