xidau123 13 Napisano 1 Luty 2015 Uploading Files Securely with PHP With David Powers | 502MB Duration: 2h 50m | Video: AVC (.mp4) 960x540 15fps | Audio: AAC 48KHz 1ch Genre: eLearning | Level: Intermediate | Language: 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. Hell 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 youll 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 Ukryta Zawartość Treść widoczna tylko dla użytkowników forum DarkSiders. Zaloguj się lub załóż darmowe konto na forum aby uzyskać dostęp bez limitów. Cytuj Udostępnij tę odpowiedź Odnośnik do odpowiedzi Udostępnij na innych stronach