Simon | An Introduction to PHP | Buch | 979-8-8688-0176-1 | www.sack.de

Buch, Englisch, 456 Seiten, Format (B × H): 155 mm x 235 mm, Gewicht: 972 g

Simon

An Introduction to PHP

Learn PHP 8 to Create Dynamic Websites
1. Auflage 2024
ISBN: 979-8-8688-0176-1
Verlag: Apress

Learn PHP 8 to Create Dynamic Websites

Buch, Englisch, 456 Seiten, Format (B × H): 155 mm x 235 mm, Gewicht: 972 g

ISBN: 979-8-8688-0176-1
Verlag: Apress


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

Simon An Introduction to PHP jetzt bestellen!

Zielgruppe


Professional/practitioner


Autoren/Hrsg.


Weitere Infos & Material


Introduction: Setup

·   

Downloading and Installing the Sample

·   

Setting up the Tools

·   

Setting up and Configuring a Web Server

Chapter 1: Writing PHP

·   

Preparing PHP files

·   

Writing PHP Code

·   

Mixing PHP and HTML Code

·   

Managing Code

Chapter 2: Dynamic Content

·   

Populating Content Dynamically

·   

Updating the Navigation Block

·   

Implementing Bread Crumbs

Chapter 3: Form Processing and Sending Emails

·   

How PHP Handles Form Data

·   

Post vs Get Data

·   

Processing Submitted Data

·   

Email Injection Attacks

·   

Form Validation and Handling Errors

·   

Persisting Submitted Data

·   

Sending Email

·   

Switching Page Content

Chapter 4: Preparing and Using the Database

·   

Creating the Database and Tables

·   

Creating a Database User

·   

Working with PDO

Chapter 5: Saving Uploaded Data

·   

Understanding SQL Injection Attacks

·   

Working with Prepared Statements

Chapter 6: Uploading Files

·   

Receiving uploaded files

·   

Validating uploaded files

·   

Moving and Storing Files

·   

Processing File Names

·   

Adding to the Database

·   

Working with Zipped Files

·   

Reading and Writing Files

·   

Processing CSV Files

Chapter 7: Configuring your PHP Project and Developing

a Library

·   

Using php.ini, .htaccess and .user.ini

configuration files

·   

Configuring arbitrary values and using ini files

·   

Creating a Library

Chapter 8: Creating a Catalogue

·   

Saving Image Files

·   

Image Processing

·   

Adding to the Database

·   

Paging a Catalogue

Chapter 9: Managing Data

·   

Creating List Pages

·   

Creating Detail Forms

·   

Inserting, Updating and Deleting Data

Chapter 10: Cookies, Sessions and Logging In

·   

Managing Passwords Safely

·   

Storing Cookies

·   

Understanding and Using PHP Sessions

·   

Logging In and Logging Out

·   

Restricting Access to Areas

Chapter 11: Developing a Simple Blog

This is a consolidation chapter which guides the reader

through creating a simple blog. It reiterates the concepts developed in the

previous chapters.


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.



Ihre Fragen, Wünsche oder Anmerkungen
Vorname*
Nachname*
Ihre E-Mail-Adresse*
Kundennr.
Ihre Nachricht*
Lediglich mit * gekennzeichnete Felder sind Pflichtfelder.
Wenn Sie die im Kontaktformular eingegebenen Daten durch Klick auf den nachfolgenden Button übersenden, erklären Sie sich damit einverstanden, dass wir Ihr Angaben für die Beantwortung Ihrer Anfrage verwenden. Selbstverständlich werden Ihre Daten vertraulich behandelt und nicht an Dritte weitergegeben. Sie können der Verwendung Ihrer Daten jederzeit widersprechen. Das Datenhandling bei Sack Fachmedien erklären wir Ihnen in unserer Datenschutzerklärung.