[lynda] Uploading Files Securely with PHP [2014, ENG] (Size: 502.12 MB)
| | form.css | 402 bytes |
| | config.php | 19 bytes |
| | form.php | 233 bytes |
| | form_end.php | 491 bytes |
| | form.css | 402 bytes |
| | form.php | 491 bytes |
| | form_end.php | 584 bytes |
| | form.css | 402 bytes |
| | form.php | 584 bytes |
| | form_end.php | 1.06 KB |
| | form.css | 402 bytes |
| | form.php | 1.06 KB |
| | form_end.php | 1.36 KB |
| | uploadfile.php | 57 bytes |
| | form.css | 402 bytes |
| | form.php | 1.36 KB |
| | form_end.php | 816 bytes |
| | uploadfile.php | 57 bytes |
| | UploadFile_end.php | 394 bytes |
| | form.css | 402 bytes |
| | form.php | 816 bytes |
| | form_end.php | 936 bytes |
| | uploadfile.php | 394 bytes |
| | UploadFile_end.php | 690 bytes |
| | form.css | 402 bytes |
| | form.php | 936 bytes |
| | form_end.php | 962 bytes |
| | uploadfile.php | 690 bytes |
| | UploadFile_end.php | 1.21 KB |
| | form.css | 402 bytes |
| | form.php | 962 bytes |
| | uploadfile.php | 1.21 KB |
| | UploadFile_end.php | 1.29 KB |
| | form.css | 402 bytes |
| | form.php | 1 KB |
| | form_end.php | 1.06 KB |
| | uploadfile.php | 1.29 KB |
| | UploadFile_end.php | 1.8 KB |
| | form.css | 402 bytes |
| | form.php | 1.06 KB |
| | form_end.php | 1.09 KB |
| | uploadfile.php | 1.8 KB |
| | UploadFile_end.php | 2.64 KB |
| | form.css | 402 bytes |
| | form.php | 1.09 KB |
| | form_end.php | 1.09 KB |
| | Snippets.txt | 628 bytes |
| | uploadfile.php | 2.64 KB |
| | UploadFile_end.php | 3.03 KB |
| | form.css | 402 bytes |
| | form.php | 1.09 KB |
| | form_end.php | 1.09 KB |
| | types.txt | 74 bytes |
| | uploadfile.php | 3.03 KB |
| | UploadFile_end.php | 3.39 KB |
| | form.css | 402 bytes |
| | form.php | 1.09 KB |
| | uploadfile.php | 3.39 KB |
| | UploadFile_end.php | 3.83 KB |
| | form.css | 402 bytes |
| | extensions.txt | 53 bytes |
| | form.php | 1.09 KB |
| | uploadfile.php | 3.83 KB |
| | UploadFile_end.php | 4.12 KB |
| | form.css | 402 bytes |
| | form.php | 1.09 KB |
| | form_end.php | 1.12 KB |
| | uploadfile.php | 4.12 KB |
| | UploadFile_end.php | 4.7 KB |
| | form.css | 402 bytes |
| | form.php | 1.12 KB |
| | uploadfile.php | 4.7 KB |
| | UploadFile_end.php | 4.95 KB |
| | form.css | 402 bytes |
| | form.php | 1.12 KB |
| | form_end.php | 1.12 KB |
| | form.css | 402 bytes |
| | form_multi_01.php | 760 bytes |
| | form_multi_01_end.php | 772 bytes |
| | form_multi_02.php | 1.38 KB |
| | uploadfile.php | 4.95 KB |
| | UploadFile_end.php | 5.4 KB |
| | form.css | 402 bytes |
| | form.php | 1.12 KB |
| | form_end.php | 1.13 KB |
| | uploadfile.php | 5.4 KB |
| | form.css | 402 bytes |
| | form.php | 741 bytes |
| | uploadfile.php | 5.4 KB |
| | form.css | 402 bytes |
| | form.php | 741 bytes |
| | form_end.php | 1.07 KB |
| | uploadfile.php | 5.4 KB |
| | form.css | 402 bytes |
| | form.php | 1.13 KB |
| | form_end.php | 1.24 KB |
| | checkmultiple.js | 1.55 KB |
| | uploadfile.php | 5.4 KB |
| | form.css | 402 bytes |
| | form.php | 1.24 KB |
| | form_end.php | 1.78 KB |
| | server_limits.txt | 294 bytes |
| | checkmultiple.js | 1.55 KB |
| | uploadfile.php | 5.4 KB |
| | form.css | 402 bytes |
| | form.php | 1.78 KB |
| | form_end.php | 1.98 KB |
| | checkmultiple.js | 1.55 KB |
| | uploadfile.php | 5.4 KB |
| | form.css | 402 bytes |
| | form.php | 1.98 KB |
| | mime_test.php | 1.25 KB |
| | 00_01-introScript.mp4 | 7.19 MB |
| | 00_02-requirements.mp4 | 3.07 MB |
| | 00_03-exercise_files.mp4 | 3.48 MB |
| | 01_01-upload_form.mp4 | 17.73 MB |
| | 01_02-FILES_array.mp4 | 12.14 MB |
| | 01_03-max_size.mp4 | 17.4 MB |
| | 01_04-folder.mp4 | 5.9 MB |
| | 01_05-move_file.mp4 | 21.54 MB |
| | 01_06-limitations.mp4 | 12.94 MB |
| | 02_01-class_plan.mp4 | 5.44 MB |
| | 02_02-namespace.mp4 | 15.68 MB |
| | 02_03-constructor.mp4 | 18.5 MB |
| | 02_04-file_ref.mp4 | 13.33 MB |
| | 02_05-error_level.mp4 | 16.11 MB |
| | 02_06-messages.mp4 | 15.44 MB |
| | 02_07-file_size.mp4 | 23.11 MB |
| | 02_08-helpers.mp4 | 26.63 MB |
| | 03_01-types.mp4 | 17.3 MB |
| | 03_02-spaces.mp4 | 17.26 MB |
| | 03_03-restricting.mp4 | 19.29 MB |
| | 03_04-neutralizing.mp4 | 18.51 MB |
| | 03_05-duplicates_redo.mp4 | 26.84 MB |
| | 03_06-move_file.mp4 | 15.39 MB |
| | 04_01-multiple.mp4 | 12.4 MB |
| | 04_02-adapt_class.mp4 | 18.25 MB |
| | 05_01-overview.mp4 | 8.38 MB |
| | 05_02-setup.mp4 | 13.81 MB |
| | 05_03-usage.mp4 | 26.1 MB |
| | 05_04-multi_errors.mp4 | 12.94 MB |
| | 05_05-display_limits.mp4 | 15.74 MB |
Description
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
Related Torrents
torrent name |
size |
seed |
leech |
|
489.74 MB |
4 |
3 |
Sharing Widget