Hi all,
Uploading of files.. AFAIU from the manual, if a file is larger than the
size defined in the form or larger than upload_max_filesize in php.ini,
that _FILES['file']['error'] should hold an INT error code.
The file upload system is working fine if the file is smaller than the
defined size, but if it's larger, then both the _POST and _FILES arrays
are completely empty:
array(0) {
}
I can obviously check to see if $_FILES is set and contains elements,
but I was hoping for more specific error handling (reason as to why the
upload failed).
Has anyone else encountered this? Any info welcomed =)
Specs:
- FreeBSD
- Apache 1.3.xx
- PHP 4.3.2
TIA.
Regards,
Ian
--
Ian.H
digiServ Network
London, UK
http://digiserv.net/