tallberg Posted December 1, 2009 Share Posted December 1, 2009 My client needs to be able to upload jpg files from her camera. Using my normal upload script doesnt work on these files for some reason. from print_r($_FILES["file"]); i get the following Array ( [name] => wedding.jpg [type] => [tmp_name] => [error] => 1 => 0 ) Ive tryed uploading a file to flickr to see if it can deal with it and it can. Any Ideas? Quote Link to comment https://forums.phpfreaks.com/topic/183550-uploading-files/ Share on other sites More sharing options...
JonnoTheDev Posted December 1, 2009 Share Posted December 1, 2009 Is the file too large? What is your upload limit set to in your php configuration? Improve your script's error handling or write a better script. What has flickr got to do with anything? Just because you can upload it to their website doesn't prove anything. You are not using the same system as flickr. Quote Link to comment https://forums.phpfreaks.com/topic/183550-uploading-files/#findComment-968813 Share on other sites More sharing options...
Deoctor Posted December 1, 2009 Share Posted December 1, 2009 hai u can try using the ft2 for this one there u can restrict what ever u want. just check it out as an alternative and also if u can paste the code which u are using then might be it could be of some help. Quote Link to comment https://forums.phpfreaks.com/topic/183550-uploading-files/#findComment-968819 Share on other sites More sharing options...
tallberg Posted December 1, 2009 Author Share Posted December 1, 2009 It was the upload limit. Thanks Quote Link to comment https://forums.phpfreaks.com/topic/183550-uploading-files/#findComment-968854 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.