Hi,
I have a script which uploads a remote file to a local directory. The scripts works fine for most files of reasonable sizes (e.g. under 1 meg), but when I try to upload a 2 meg jpeg image I get several errors (Cannot upload 'none' etc.). Testing for the variable name of the input form element produces a 'none' value, even when I've chosen an image to upload.
I haven't used a MAX_FILE_SIZE hidden input element so I should be able to upload big files okay (no?)... I was intending to use the php filesize() function to capture the size then write a custom error message, but as the variable evaluates to 'none' I can't do this...
Anybody shed some light on the problem?
Phil