... Street, Indianapolis, Indiana, 46240 USA
Julie C. Meloni
SamsTeach Yourself
All
in
One
PHP,
MySQL
®
and
Apache
www.it-ebooks.info
ptg8106388
32
CHAPTER 2: Installing and Configuring MySQL
.
PROCESS—User ... Blocks and Browser Output 114
Summary 116
Q&A 116
Workshop 116
vi
Sams TeachYourself PHP, MySQLandApacheAllin One
www.it-ebooks.info
ptg8106388
70
CHAPTER 4: Installing and Configuring PHP
Let’s ... One
www.it-ebooks.info
ptg8106388
Troubleshooting 55
Summary 56
Q&A 56
Workshop 57
CHAPTER 4: Installing and Configuring PHP
59
Current and Future Versions of PHP 59
Building PHP on Linux/UNIX with Apache 60
Installing PHP on...
... Versions of MySQL
How to Get MySQL
Installing MySQL on Linux/Unix
Installing MySQL on Windows
Chapter 3. Installing and Configuring PHP
Current and Future Versions of PHP
Building PHP on Linux/Unix ...
Appendix A. Installing MySQL,
Apache, andPHP from the CD-
with Apache
Installing PHP Files on
Windows
php. ini Basics
Testing Your Installation
Getting Installation Help
The Basics of PHP Scripts ... Used in This Book
Part I: Laying the Groundwork
Chapter 1. Installing and
Configuring MySQL
Current and Future Versions of
MySQL
How to Get MySQL
Installing MySQL on
Linux/Unix
Installing MySQL...
... and Running
Hour 1. Installing and Configuring MySQL
How to Get MySQL
Installing MySQL on Linux/Unix
Installing MySQL on Windows
Troubleshooting Your Installation
Basic Security Guidelines
... Working with Files
Including Files with include()
include_once()
Testing Files
Creating and Deleting Files
Opening a File for Writing, Reading, or Appending
Reading from Files
Writing ... Modify Records
Using the REPLACE Command
Using the DELETE Command
Summary
Q&A
Workshop
Hour 8. Interacting with MySQL Using PHP
Connecting to MySQL with PHP
Working with MySQL Data
Summary
...
... proper-
ties in Chapters 9, “Working with Margins, Padding, Alignment, and
Floating,” and 10, “Understanding the CSS Box Model and Positioning.”
Using Style Classes
This is a teachyourself book, ... on. Don’t worry—obtaining a hosting provider
is usually a quick, painless, and relatively inexpensive process. In fact, you
can get your own domain name and a year of web hosting for just slightly
more ... (images, audio, and video) you
plan to include in your website (if any)?
. Bandwidth—Does the hosting package include enough bandwidth
so that all the people visiting your site and downloading files...
... for Windows 23
Obtaining Apache for Linux 23
Obtaining Apache for Mac 24
Obtaining all- in- one installation kits 24
Verifying a downloaded le 24
Installing Apache 25
Installing Apache on Windows ... 36
Obtaining PHP 36
Downloading from the PHP website 37
Obtaining PHP for Windows 37
Obtaining PHP for Linux 37
Obtaining PHP for the Mac OS 38
Obtaining all- in- one installation kits 38
Verifying ... Linux and Unix 58
Obtaining MySQL for Mac 59
Obtaining all- in- one installation kits 59
Verifying a downloaded le 59
Installing MySQL 59
Running the MySQL Setup Wizard on Windows 60
Installing...
... 21
Testing Your Web Server 21
Obtaining Apache 22
Installing Apache 25
Starting and Stopping Apache 28
Getting Information from Apache 31
Configuring Apache 32
Chapter 3: Installing PHP 35
Checking ... 55
Checking the MySQL Installation 55
Obtaining MySQL 57
Installing MySQL 59
Configuring MySQL 65
Starting and Stopping the MySQL Server 66
Testing MySQL 68
Troubleshooting MySQL 69
The MySQL Administration ... source code on Linux and Mac”
section, later in this chapter.
Obtaining all- in- one installation kits
You can obtain some kits that contain and install PHP, MySQL, andApache
in one procedure....
... 203
viii
Sams TeachYourself Ajax, JavaScript, andPHPAllin One
30
CHAPTER 2: Writing and Styling Pages in HTML and CSS
<small> </small> Small text
<table> </table> Table
<tr> ... net-
working, certification programs, and databases. He lives with his wife in Salt Lake City,
Utah.
2
Sams TeachYourself Ajax, JavaScript, andPHPAllin One
When using popular desktop applications, ... brows-
er, such as sending server queries and dealing with the returned data, are written in
JavaScript, and XML is an increasingly popular means of coding and transferring for-
matted information used...
... 65
MySQL error log 66
Installing MySQL GUI Administration Programs 66
Installing phpMyAdmin 67
Obtaining phpMyAdmin 67
Installing phpMyAdmin 67
Testing phpMyAdmin 69
Troubleshooting phpMyAdmin ... 77
Installing Apache 77
Installing Apache on Windows 77
Installing Apache on a Mac 79
Installing Apache from source code on Linux and Mac 79
Starting and stopping Apache 81
Starting and stopping ... of Apache 74
Downloading from the Apache Web site 75
Obtaining Apache for Windows 75
Obtaining Apache for Linux 76
Obtaining Apache for Mac 76
Obtaining all- in- one installation kits 76
Verifying...
... 711
Concatenating to make one eld 712
Creating a View 713
Using an Inner Join to Combine Tables 715
Building a Cartesian join and an inner join 717
Enforcing one- to-many relationships 719
Counting the ... 503
Installing Your Web Server 504
Inspecting phpinfo( ) 505
Building XHTML with PHP 508
Coding with Quotation Marks 510
Working with Variables PHP- Style 511
Concatenation 512
Interpolating variables ... .519
Exploring the Relationship between PHPand XHTML 519
Embedding PHP inside XHTML 520
Viewing the results 521
Sending Data to a PHP Program 522
Creating a form for PHP processing 523
Receiving data in...