Fully-Featured Upload Facility..
Drop in, Upload..
corz simple upload is, as the name implies, an extremely simple upload facility for your web site.
Tested and tweaked over a decade of continual use to produce the most reliable results across all browsers, corz simple upload can not only handle your uploading needs securely, but let you know all about it, with instant web master email notifications, even attaching the uploaded files to the email.
corz simple upload is simple to install (drop it somewhere, set a couple of prefs) and simple to use..
Note you MUST ensure that both
upload_max_filesizephp directives are large enough to handle the largest file you expect to upload, or the upload will fail. The "
MAX_FILE_SIZE" (in bytes) hidden form element is often (usually) ignored by browsers, don't trust it.
In a default installation, the upload filesize is set to 10MB, as are the php directives at my site, in the relevant .htaccess file..
php_value upload_max_filesize 10M
php_value post_max_size 10M
If you run php as a cgi/FastCGI/etc., you would have the directives in your relevant
.user.inifile in a per-site configuration)..
upload_max_filesize = 10M
post_max_size = 10M
If an error occurs during any upload, the script will attempt to explain.
Uploading large files PHP is generally not an ideal scenario, and a decent FTP server is preferable every time! Having said that, this very script is responsible for a HUGE amount of successful; though highly suspect, content-wise; uploads to corz.org!
0.9.6: Added optional User comments.
0.9: uploaded files are now zipped before attaching to admin notifications mails.
multiple files are simply added to the original archive, named "first-file.zip"
Note: they are zipped before any name transformations.
0.8: simple upload can now mail you the uploaded file as an attachment to your notification.
0.7: HTML5 output, added more "unsafe" types, fixed minor php warnings.
0.6: upload.php can now mail you on new uploads.
0.4: the XHTML upgrade - you can style things easily enough now.
0.3.5: added more extensions to the security checks (some servers will parse anything!).
0.3.4: added stripslashes to catch names with "'" (apostrophe characters) in them.
0.1-0.3: test releases.
corz simple upload is FREE!
You can view the php source code here..
And a ready-to-go zip is right here..download
UploadLIVE MD5+SHA1 Multi-Hashes..
# made with checksum.. point-and-click hashing for windows (64-bit edition). # from corz.org.. http://corz.org/windows/software/checksum/ # #email@example.com:33 8457c499d0e06a5f829c87bd3de9a09d *upload.zip
Finally, I should mention that if you do have a working upload facility on your own web site (like the one above), you will start to collect all sorts of interesting documents, mainly web "attack" scripts like c99.php,
r57.phpand their many variants.
All these lame attempts fail, of course - simple upload knows just how to handle this sort of malarkey, but BE WARNED! Many of the script people will upload would be dangerous to run (in a web browser), even once you get them home.
It's fun to look, but be careful of the environment you are in when looking!
You will also get lots of strange images.
Some will be keepers!
If you have a question, feel free to leave a comment, below. I don't expect it to get too busy; simple upload usually just works! Hence the name!