Page 1 of 1

File Upload

Posted: Fri Sep 30, 2011 12:32 pm
by ashrafy84
Hi every one,

I have come with one issue that, i have did all code for image uploading into a server. the function is working fine but issue is some image are not getting uploaded into server. because they not getting values in from the browser while uploading the file.

But the same i can upload it on facebook and orkut, etc.

Please give the solution to upload all type of images without any errors

Thanks,
Ashraf.

Re: File Upload

Posted: Fri Sep 30, 2011 7:15 pm
by nowaydown1
Ashraf,

It sounds like this might be related to filesize. Here's some things that come to mind to check out:

* See what your post_max_size directive is set to on your webserver.
* You might try checking upload_max_filesize too.
* Dump your $_FILES array when your upload fails and see what you get. That might give you some additional insight to what is happening.
* Probably not the case, but double check your form has enctype="multipart/form-data" set.