This is the moment of truth, where you hold your breath and test the script.
Open your web browser and type http://127.0.0.1/upload_form.html.
Use the Browse button to locate a file you want to upload.
| Note |
This example uses a file on my own machine, so the figures won't look quite the same as your results. |
The full path to the file should appear in the form field.
Click on the Upload File button.
The results screen should appear, providing information about the file you just uploaded.
| Note |
Allow your file upload script to be used only by yourself or other trusted sources, unless you limit the types of files you want to upload by checking the file type before copying to the system. |
There's nothing to it! You're now a file system wizard. In the next chapter, you'll become a database wizard as well.