Core Web Application Development with PHP and MySQL
| Before this chapter begins a walkthrough of the code, you need to understand the basics of setting up this sample application. You can find full code on the CD that accompanies this book. The CD is viewable on any Windows, Unix, or Mac OS X computer. Software needed to run your web applications such as PHP, MySQL, and Apache are included on the disc. In the booksrc/ directory are a number of subdirectories, including chapters/, appointments/, ecommerce/, and simpleblog/. For this chapter, we will concern ourselves with the appointments/ directory and its contents. This sample and all others have at least three directories:
The appointments/ directory contains a file called INSTALL.TXT, which walks you through all the steps necessary to get the sample running. These steps are broken down into three major actions:
After you have all of this configured, you should be able to bring up the home page for the application by typing in the appropriate URL for the provided index.php (see Figure 31-1). |
Категории