- A web programmer defines the various file attributes, such as file name, minimum or maximum file size, file type and what folder the upload function will save the file to. She uses the PHP "$_FILES" array to handle file uploads from visitors.
- Putting restrictions on file uploads gives a web programmer a measure of control over files uploaded by visitors. Visitors will not have the option to upload any file they want, which allows the programmer to manage the files on his server.
- A web programmer should program a success or error message that her website will display to visitors when they upload files. When a visitor tries to upload an illegal file, the website will then tell him about the restrictions placed on his file.
previous post