class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
I am using a very small file from my PC for just that reason.
I've got the enctype set on my form.
My variable $fileToUpload is $fileToUpload = $this->message_vars['fileName'];, which is correct as I've printed this out to my error log. Could it be that fileToUpload is not found because it is the name of a local file on my filesystem, but $fileToUpload does not contain a path?Reply
I've got the enctype set on my form.
My variable $fileToUpload is $fileToUpload = $this->message_vars['fileName'];, which is correct as I've printed this out to my error log. Could it be that fileToUpload is not found because it is the name of a local file on my filesystem, but $fileToUpload does not contain a path?