Home| All soft| Last soft| Your Orders| Customers opinion| Helpdesk| Cart

Program Search:


Shopping Cart:




*Note: Minimum order price: €20
We Recommend:

Lynda.com Uploading Files Securely with PHP €15 buy download

2014
lynda.com
David Powers
2h50min
English

The basic process of uploading files with PHP is very simple, but there are security implications that many people are unaware of. This course shows how to create a secure custom PHP class that can handle both single-file and multi-file uploads. Author David Powers shows you how to create a file upload class that checks the size, type, and names of files, renaming them when it encounters a duplicate file name. He'll show you how to make the class report on the outcome of the upload process and the nature of any errors that occur, and how to prevent the user from uploading files that exceed the server limits.
At the end of this course, you'll have a robust, flexible class that can be incorporated into many projects (including web forms) with just a few lines of code.
Topics include:

How PHP handles file uploads
Setting the maximum file size
Moving the file to its destination
Creating and using a namespaced class
Displaying error messages
Restricting unacceptable MIME types and file extensions
Using the class
Reporting errors
Altering the user

Introduction
Welcome
What you should know before watching this course
Using the exercise files
1. File-Upload Basics
How PHP handles file uploads
Examining the $_FILES array
Setting the maximum file size
Preparing the upload folder
Moving the file to its destination
Limitations on file uploads
2. Creating a File-Upload Class
Planning the class's features
Creating and using a namespaced class
Creating the class constructor
Getting a reference to the uploaded file
Checking the error level
Displaying errors and other messages
Setting and checking the maximum file size
Strengthening the setMaxSize() method
3. Making the Class More Secure
Restricting acceptable MIME types
Removing spaces from file names
Restricting acceptable file-name extensions
Neutralizing potentially dangerous uploads
Renaming files with duplicate names
Moving the file to its destination
4. Handling Multiple File Uploads
Understanding how the $_FILES array handles multiple files
Adapting the class to handle both single and multiple uploads
5. Using the Class
Overview of the UploadFile class
Setting up to use the class
Using the class
Reporting errors with multiple uploads
Displaying the server limits
Alerting the user about exceeding the server limits
Changing the class's defaults
Conclusion
Goodbye



Download File Size:489.5 MB


Lynda.com Uploading Files Securely with PHP
€15
Customers who bought this program also bought:

Home| All Programs| Today added Progs| Your Orders| Helpdesk| Shopping cart      





AutoCAD 2023 €110


SolidWorks 2022 €115


AutoCAD 2023 for Mac €110






DxO PhotoLab 5 ELITE €25


SketchUp Pro 2022 €30


Corel Painter 2023 €40






CorelDRAW Graphics Suite 2021.5 for Mac €65

             

Adobe Master Collection 2021 for Mac €260