Use PHP to enhance your web pages. This book shows you how PHP programming works, and how to write and organize PHP code.
The book starts with steps to download and install a setup for a sample website that will form the basis for upcoming chapters. You start by writing PHP code and learn how to mix it with HTML and manage the code. From there, you will learn about dynamic content, along with a deep dive into form processing and sending email. Saving uploaded data and uploading files is discussed next. You will learn how to configure your PHP project and develop a library. You will then learn how to create an image catalog and manage data on your web page. By the end of the book, you will understand how to work with cookies, sessions, and logging in, followed by an example of creating a simple blog that reiterates the concepts developed in the previous chapters.
After reading this book, you will be able to configure, create, and manage your dynamic website.
What Will You Learn
- Know the basics of programming with the PHP language
- Use PHP to generate dynamic web pages
- Work with SQL databases
- Work with forms to upload text data and binary files
- Use tips and tricks to write clean and maintainable code
Who This Book Is For
Web developers and students learning to develop and maintain PHP code on their website
Daftar Isi
1: Introduction and Setting Up.- 2: Working with PHP.- 3: Email and Form Processing.- 4: Uploading Data and Files.- 5: Working with a Database.- 6: Adding Data to the Database.- 7: File Handling.- 8: The Image Gallery.- 9: Managing Data.- 10: Sessions and Logging In.- 11: A Configuration System.- 12: A Content Management System.- Appendix 1: Adding Markdown to Your Blog Articles.- Appendix 2: Non-PHP Tricks.- Appendix 3: PHP Versions.- Appendix 4: Default Library Functions.
Tentang Penulis
Mark Simon has been involved in training and education since the beginning of his career. He started as a teacher of mathematics and moved into IT consultancy and training. He has worked with and trained in several programming and coding languages, and currently focuses on web development and database languages. When not involved in work, Mark can be found listening to or playing music, reading, or just wandering about.