An Introduction to PHP: Learn PHP 8 to Create Dynamic Websites

Simon, Mark

  • 出版商: Apress
  • 出版日期: 2024-03-08
  • 售價: $2,170
  • 貴賓價: 9.5$2,062
  • 語言: 英文
  • 頁數: 625
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 9798868801761
  • ISBN-13: 9798868801761
  • 相關分類: PHP
  • 海外代購書籍(需單獨結帳)

商品描述

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

商品描述(中文翻譯)

使用PHP來增強您的網頁。本書向您展示PHP編程的工作原理,以及如何編寫和組織PHP代碼。

本書首先介紹了下載和安裝樣本網站的設置步驟,該網站將成為接下來章節的基礎。您將從編寫PHP代碼開始,並學習如何將其與HTML混合使用並管理代碼。從那裡,您將學習動態內容,並深入研究表單處理和發送電子郵件。接下來討論了保存上傳數據和上傳文件的方法。您將學習如何配置PHP項目並開發庫。然後,您將學習如何創建圖像目錄並管理網頁上的數據。通過閱讀本書,您將了解如何使用cookie、session和登錄,並通過創建一個簡單的博客示例重申在前幾章中學到的概念。

閱讀本書後,您將能夠配置、創建和管理動態網站。

您將學到什麼:
- 了解使用PHP語言的基礎知識
- 使用PHP生成動態網頁
- 使用SQL數據庫
- 使用表單上傳文本數據和二進制文件
- 使用技巧和訣竅編寫乾淨且易於維護的代碼

本書適合對在其網站上開發和維護PHP代碼感興趣的網絡開發人員和學生。

作者簡介

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.

作者簡介(中文翻譯)

Mark Simon自從職業生涯開始就一直從事培訓和教育工作。他起初是一名數學教師,後來轉向IT顧問和培訓工作。他曾與多種編程語言合作並進行培訓,目前專注於網頁開發和數據庫語言。在工作之餘,Mark喜歡聽音樂、彈奏樂器、閱讀或者四處漫遊。