Uploading problems

See all posts See thread Reply

Re: Uploading problems new!
by colin, 17 years, 10 months ago
I notice that the $_FILES['binFile'][size] always returns 0 on files larger than about 750 to 800 Kb. but it is correct on files smaller.

That leads me to think that there is a problem with your setup of PHP. The class only reads what is in $_FILES. If the information is not correct, it will assume that the upload is not good. In fact, if the size value is 0, it means that the upload wasn't successful, for some reason.

Does your code work on another server?Reply