Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

upload with php form, corrupts files.

uploads and corrupts my files.



9:39 pm on Aug 28, 2006 (gmt 0)

5+ Year Member

I have a form build with php script that uploads a file to my ftp site and emails me a message but I then can not access the file because of access rights or the file is corrupt. I am not sure which one it is. Has this ever happened to anyone?

Brian...I can paste the code here if need be.


9:55 pm on Aug 28, 2006 (gmt 0)

WebmasterWorld Senior Member henry0 is a WebmasterWorld Top Contributor of All Time 10+ Year Member

Brian Welcome to WebmasterWorld!
Please show us some script.

Keep the sample somehow short and related to the problem area.


3:13 am on Aug 31, 2006 (gmt 0)

10+ Year Member

Sometimes sloppy uploads come from the wrong encoding type on the upload form. For example, you commonly need to use enctype="multipart/form-data" for transferring binary files.

Featured Threads

Hot Threads This Week

Hot Threads This Month