Pure PHP Upload 2.1 Tutorials - Optional file upload
Optional file upload
In this tutorial we will explain how to make an optional file upload.



How to do it
To make an optional file upload, you need to:
- Start with basic upload page
Start with an upload page where you have Pure PHP Upload on it. If
you haven't done it yet, go through the Simple
file upload tutorial.
- Open the Pure PHP Upload dialog
Select the Pure PHP Upload dialog by opening the Server Behaviors
Panel. Select DMXzone - Pure PHP Upload.

- Make the upload optional
When you need to have an optional upload you only have to clear the
Require Upload checkbox.

Then the users won't get a warning when they try to submit the page without
specifing a file to upload.
- Save and done
Save your page and upload it to your server, and you are done! Go
to your website and test it - you should be able to skip the file upload now.


