News Feed
Sections
News Archive


Community Events
php|tek 2008 PHP Conference



feed this:



WebCheatSheet.com:
Secure File Upload with PHP
5 comments :: posted Thursday January 18, 2007 @ 11:40:00
voice your opinion now!

A new tutorial has been posted to the WebCheatSheet.com website demonstrating a method for secure file uploads with PHP.

In spite of security issues that should be addressed before enabling file uploads, the actual mechanisms to allow this are straight forward. In this tutorial we will consider how to upload files to some directory on your Web server. We will also discuss security issues concerned with the file uploading.

They break it up into the two key parts - the HTML form and the PHP script that handles the resulting upload request. The "secure" part comes in with the validation of the upload. In this case, making sure it's a JPEG file, that its size is less than 350 KB, and that a file by that name doesn't already exist.

tagged with: tutorial secure file upload html validation size type unique tutorial secure file upload html validation size type unique


conference mysql code package framework release zendframework ajax database application cakephp PEAR PHP5 pecl zend security book releases job developer

All content copyright, 2008 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework