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: form enctype=multipart/form-data action=formmail.php method=post Send this file: input name=userfile type=file input type=submit value=Send your file name=submit /form Try the example(s) in manual Handling

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 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 will

RE: [PHP] uploaded files are corrupted

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