RE: [PHP] uploaded files are corrupted

2004-02-11 Thread Pablo Gosse
> 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

Re: [PHP] uploaded files are corrupted

2004-02-11 Thread John W. Holmes
From: "Donpro" <[EMAIL PROTECTED]> > 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 wil

Re: [PHP] uploaded files are corrupted

2004-02-11 Thread Richard Davey
Hello Donpro, Wednesday, February 11, 2004, 2:58:20 PM, you wrote: D> I have a script that allows the user to browse his/her local hard drive for D> a file and email it as an attachment. Text files come through OK but any D> binary type file, e.g., JPEG or PDF arrive broken. JPEG will show as a

Re: [PHP] uploaded files are corrupted

2004-02-11 Thread Jason Wong
On Wednesday 11 February 2004 22:58, Donpro wrote: > A code sample of my form is: > > > Send this file: > > Try the example(s) in manual > Handling file uploads. If they work, then figure out what you're doing differently in your code that makes it not work. If the examples don't work, and

[PHP] uploaded files are corrupted

2004-02-11 Thread Donpro
Hi, 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 kno