Re: uploaded files are corrupted
| From: | John W. Holmes | Date: | Wed, 11 Feb 2004 15:46:06 +0000 |
| Subject: | Re: uploaded files are corrupted | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-177410@lists.php.net to get a copy of this message | ||
From: "Donpro" <donpro@lclnav.com>
> I have a script that allows the user to browse his/her local hard drive
for
> a file and email it as an attachment. Text files come through OK but any
> binary type file, e.g., JPEG or PDF arrive broken. JPEG will show as a
red
> X in my browser and Adobe will complain about the PDF. I don't know
why???
How are you viewing the attachments? It's hard to tell where the issue is
with that description.
Look at the source code of a regular email with attachments and then compare
it to the source code of the email and attachments you create with PHP.
---John Holmes...