Jump to content

Recommended Posts

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?

 

 

Link to comment
https://forums.phpfreaks.com/topic/183550-uploading-files/
Share on other sites

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.

Link to comment
https://forums.phpfreaks.com/topic/183550-uploading-files/#findComment-968813
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.