Welcome to WebmasterWorld Guest from 18.104.22.168 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Become a Pro Member
upload with php form, corrupts files. uploads and corrupts my files. bneitsch msg:3063621 9:39 pm on Aug 28, 2006 (gmt 0) 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.
henry0 msg:3063633 9:55 pm on Aug 28, 2006 (gmt 0)
Brian Welcome to WebmasterWorld! Please show us some script.
Keep the sample somehow short and related to the problem area.
Filipe msg:3066815 3:13 am on Aug 31, 2006 (gmt 0)
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.