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.
Hello again! We noticed an inconsistence in this line:
$translation['uploaded_err_extension']
= 'File upload error (file upload stopped by extension).';
Many people won't understand what an extension could do for a file to not be uploaded. Correct me if I'm wrong: I changed it to:
$translation['uploaded_err_extension']
= 'File upload error (extension not allowed for upload).';
- I thought it's about the php server configuration that could allow/disallow different extensions to be uploaded to the server. Is it correct? Should it sound differently?
My question is: how could an extension affect an uploading process? Other then being restricted by either the php server (not sure) or the script itself (more likely)... So how "file upload stopped by extension" should actuallz read?
PS: Notifications on reply are still not working for this forum. That would be such a great feature to add...Reply
I think that you can set a blacklist of file extensions in your php.ini, and the files having such extensions will be blocked during an upload. So the message is somehow right: "file upload stopped by extension" reads as "the file upload has been cancelled as the extension is forbidden".
Notifications are not implemented on this forum, but I will try to do that soon.Reply
We noticed an inconsistence in this line:
Many people won't understand what an extension could do for a file to not be uploaded.
Correct me if I'm wrong: I changed it to:
- I thought it's about the php server configuration that could allow/disallow different extensions to be uploaded to the server.
Is it correct? Should it sound differently?
Thanks in advance!
It is a (yet undocumented?) feature that allows an administrator to limit file uploads by applying a blacklist of extensions.
So how "file upload stopped by extension" should actuallz read?
PS: Notifications on reply are still not working for this forum. That would be such a great feature to add...
Notifications are not implemented on this forum, but I will try to do that soon.