PHP Scripts - Secure File Upload Class - CodeCanyon
Secure File Upload Class his title this type of PHPScripts/LoadersandUploaders This time I will review,made by betterphp, PHPScripts/LoadersandUploaders is sold at a price of $6 in CodeCanyon.Created | 31 August 10 |
Last Update | 4 July 11 |
Compatible Browsers | IE6, IE7, IE8, Firefox, Opera, Chrome 4, Chrome 5 |
Software Version | PHP 5.x, jQuery |
Files Included | PHP |
More Info...Secure File Upload Cl ..
Key Features
- Easily upload any type of file
- Securely restrict the types of files allowed by setting white and blacklists for the mime type, the type, and the file extension.
- The file size can be limited to prevent your users uploading huge files.
- Support compression of images
- Supports creating thumbnails
$upload = new secure_upload('my_file'); $upload->set_type_whitelist(array('image')); $upload->save_to('./uploads/' . $upload->name);Blocking the php file extensions
$upload = new secure_upload('my_file'); $upload->set_extension_blacklist(array('php', 'phtml', 'php3', 'php4', 'php5', 'pht')); $upload->save_to('./uploads/' . $upload->name);Resizing an uploaded image to 800 pixels wide.
$upload = new secure_upload('my_file'); $upload->save_image_resized('./uploads/' . $upload->name, 800);Preview Documentation: http://jacekk.co.uk/code/secure_file_upload/docs Image Upload: http://jacekk.co.uk/code/secure_file_upload/ Support If there are any problems with this item, the best place to ask is in the forum as I check that at least once a day. http://betterphp.co.uk/board/viewforum.php?f=29
Download LinkSecure File Uploa ..
No comments:
Post a Comment