Overview of the UploadFile class


show more Overview of the UploadFile class provides you with in-depth training on Developer. Taught by David Powers as part of the Uploading Files Securely with PHP show less
please wait ...

Overview of the UploadFile class

Whether you've been building your own version of the UploadFile class definition. Or you've jumped straight to this chapter, let's take a look at the classes features and how to use it. The primary emphasis is on security when uploading files. The class limits the size of individual file uploads. Although the size can be changed, the class prevents you from exceeding the limits set in the server's configuration. Uploads can be restricted to a predefined range of MIME type.

Alternatively, the class will automatically append a suffix to the names of files such as executables, that are considered risky. The upload file class has also been designed to be flexible. It automatically handles both single, and multiple file uploads. Most default settings can be changed without editing the class definition. These are the defaults in the version of the class in the exercise files. The maximum size for an individual file is 50 kilobytes.

Uploads are restricted to image formats commonly used on the...

Overview of the UploadFile class
Video duration: 5m 9s 2h 50m Intermediate

Viewers:

Overview of the UploadFile class provides you with in-depth training on Developer. Taught by David Powers as part of the Uploading Files Securely with PHP

Subject:
Developer
Software:
PHP
Author:
please wait ...