PHP Advanced
You have learned the basics of PHP. Now it is time for the advanced concepts. These are the things you need to build real websites: handling forms, working with files, remembering users, sending emails, writing object oriented code and using a database.
If you have not learned the basics yet, start from the PHP tutorial index. The chapters below are essential before you start any PHP project.
Forms and files
- PHP Forms Handling: send data between pages using forms and the GET and POST methods.
- PHP File Upload: let users upload files, the safe way.
- PHP File Handling: create, read, write and delete files on the server.
- PHP File Inclusion: reuse code with include and require.
Users, cookies and email
- PHP Cookies: store small data in the browser of the visitor.
- PHP Session: store data of a user on the server, for example a login.
- PHP Send Mail: send emails from your script.
Object oriented PHP
- PHP OOP Introduction: the basic ideas of object oriented programming.
- PHP Class and PHP Objects: write classes and create objects.
- OOP interview questions: practice what you learned.
Database
- PHP MySQL Tutorial: connect PHP with MySQL and do insert, select, update and delete.
- Prepared Statements: run queries safely.
Security and modern PHP
- PHP Security Tips: 15 tips to protect your website.
- PHP match Expression and new features of PHP 8.
Note:
A good order to learn: Forms, Sessions and Cookies, Files, MySQL, OOP, and then Security. Practice every chapter by writing the code yourself.
Congratulations! Chapter Finished. Learn more about the similar topics:
| Exercises & Assignments |
|---|
| No Content Found. |