eatadi Posted September 9, 2009 Share Posted September 9, 2009 Hey all, I am using flash and php to upload files to a server as well as enter the file name to a mysql database. The strange thing is that I rename the file upload to the new id entered to the database as well as append "_resume.txt" to the end. For some strange reason in the database the field is stored with a bunch of white spaces inbetween the userid and _resume.txt. So for example the file being uploaded is renamed to 100021_resume.txt but I get 100021 _resume.txt in the database and on the server. I've used trim, string replace all kinds of things on both the flash and php side? I have no clue what else to try. Link to comment https://forums.phpfreaks.com/topic/173671-mysql-file-upload-weird-spacingline-break-issue/ Share on other sites More sharing options...
eatadi Posted September 9, 2009 Author Share Posted September 9, 2009 Also on the server it breaks the name into two seperate files. So i get a file called 1000048 and another file _resume.txt. Link to comment https://forums.phpfreaks.com/topic/173671-mysql-file-upload-weird-spacingline-break-issue/#findComment-915489 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.