Because it is requested so much I wrote up a sample upload.php.

This file is included in the sample folder since SWFUpload v2.0.2. It can be download from the SVN repository here.

This sample file tries to follow best practices (or at least mentions them) for accepting file uploads in PHP.

We are open to suggestions if you think any changes should be made to the sample file.

upload.php sample.