Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 724 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
724
Dung lượng
11,61 MB
Nội dung
[...]... 508 Updating Information in a Database 513 Removing Information from a Database 513 xxii PHP, MySQL, JavaScript&HTML5All-in-OneForDummies Chapter 5: Communicating with the Database from PHP Scripts 515 Knowing How MySQL and PHP Work Together 515 PHP Functions That Communicate with MySQL 516 Communicating with MySQL 516 Connecting to the MySQL server ... beginning, Book I, Chapter 1 Before you know it, you’ll be programming complex and nice-looking websites Occasionally, we have updates to our technology books If this book does have technical updates, they’ll be posted at www .dummies. com/go/ phpmysqljavascripthtml5aioupdates 4 PHP, MySQL, JavaScript&HTML5All-in-OneForDummies Book I Visit www .dummies. com for great Dummies content online Contents... 55 Checking the MySQL Installation 55 Finding out if MySQL is running or installed 56 Starting MySQL 56 Obtaining MySQL 57 Downloading from the MySQL website 58 Obtaining MySQLfor Windows 58 Obtaining MySQLfor Linux and Unix 58 Obtaining MySQLfor Mac 59 Obtaining all-in-one installation kits 59 Verifying... Checking MySQL support 72 Troubleshooting PHP and MySQL 73 Displays error message: Undefined function 73 MySQL functions not activated (Windows) 74 Chapter 5: Setting Up Your Web Development Environment with the XAMPP Package 75 Obtaining XAMPP 75 Installing XAMPP 76 xiv PHP, MySQL, JavaScript&HTML5All-in-OneFor Dummies. .. JavaScript to a page’s HTML 189 Using external JavaScript 190 xvi PHP, MySQL, JavaScript&HTML5All-in-OneForDummies Chapter 2: Building a JavaScript Program 191 Getting Started with JavaScript Programming 191 Sending an alert to the screen 191 Adding comments 193 Holding data for later in variables 193 Holding multiple values in an array ... 420 xx PHP, MySQL, JavaScript&HTML5All-in-OneForDummies Comparing Objects 421 Getting Information about Objects and Classes 422 Destroying Objects 423 Chapter 5: Considering PHP Security 425 Securing the Server 425 Hardening the server 425 Using a firewall 426 Securing Apache 426 Securing PHP applications... 15 Choosing a web-hosting company 16 Using a hosted website 18 Setting Up Your Local Computer for Development 19 Installing the web server 19 Installing PHP 20 Installing MySQL 20 xii PHP, MySQL, JavaScript&HTML5All-in-OneForDummies Chapter 2: Installing a Web Server 21 Testing Your Web Server 21 Obtaining... Validating Web Forms with JavaScript and PHP 555 Understanding How to Validate Web Forms 555 Always assume bad data 556 Never assume JavaScript 556 Sometimes mirror client- and server-side validation 556 Performing Basic JavaScript Validation 557 Looking at the form HTML and CSS 561 Adding JavaScript validation 563 Table of Contents xxiii Performing PHP Validation... Obtaining PHP 36 Downloading from the PHP website 37 Obtaining PHPfor Windows 37 Obtaining PHPfor Linux 37 Obtaining PHPfor the Mac OS 38 Obtaining all-in-one installation kits 38 Verifying a downloaded file 39 Installing PHP 40 Installing on Unix and Linux 40 Installing on Mac OS X 42 Installation options for Unix,... 36 Obtaining PHP 36 Installing PHP 40 Configuring Your Web Server forPHP 47 Configuring PHP 50 Testing PHP 51 Troubleshooting 53 Chapter 4: Setting Up MySQL 55 Checking the MySQL Installation 55 Obtaining MySQL 57 Installing MySQL 59 Configuring MySQL 65 .
PHP,
MySQL
®
,
Javascript
®
& HTML5
ALL-IN-ONE
by Steve Suehring and Janet Valade
PHP,
MySQL
®
,
Javascript
®
& HTML5
ALL-IN-ONE
PHP, . author of PHP & MySQL For Dummies, which is in its third
edition. She has also written PHP & MySQL Everyday Apps For Dummies and
PHP & MySQL: