Scroll
PHP Lessons - Part 2 - Forms, Files, Sessions and Security in PHP
If you’ve read the first part of the PHP lessons, then you already know at least how to write code in PHP. In this part, we’ll dive deeper into the language and explore the following topics:
- Working with forms in PHP
- Working with files in PHP
- Cookies in PHP
- Sessions in PHP
- Sending emails with PHP
- Security in PHP
However, we won’t study these topics separately as traditional PHP tutorials often do. Instead, we’ll apply all these features in the process of creating a small website.
That said, I should tell you upfront — this website won’t be suitable for real-world use. Its creation is purely for educational purposes. If you want a production-ready site, you should use existing CMS platforms or frameworks.
As always, we’ll start simple and gradually move to more advanced topics.