homepage Welcome to WebmasterWorld Guest from 54.146.175.204
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
upload with php form, corrupts files.
uploads and corrupts my files.
bneitsch

5+ Year Member



 
Msg#: 3063619 posted 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?

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

 

henry0

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



 
Msg#: 3063619 posted 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

10+ Year Member



 
Msg#: 3063619 posted 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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved