Graphics Programs Reference
In-Depth Information
Figure 9-2
New thankyou.html page
updated page title
new page h eading
new page content
6. Save and close the page, and then upload the page to your remote server.
7. Repeat Steps 1 through 6 to create the following pages, typing .php as the file
extension for the last three pages in Step 2 and not typing any new page content
in Step 5.
Filename
Page Title
Page Heading
access_denied.html
NextBest Fest : Access Denied
Access Denied
database.php
NextBest Fest : Database
Database
database_details.php
NextBest Fest: Database Details
Database Details
login.php
NextBest Fest : Login
Login
Trouble? If a bar appears across the top of the Document window of the .php
pages stating that, “Dynamically-related files cannot be discovered because a
testing server is not defined.” ignore it. We will set up a testing server.
Now that you have modifi ed the form and created the new pages, you are ready to
create the database on your remote server.
Creating a Database on a Remote Server
You must create the database on the remote server so that it can send data to and receive
data from Web pages or Web applications. For example, in the NextBest Fest site, the
form in the contact.html page will send data to the database that you create on the
remote server.
If your instructor has already created the database on your remote server, you
should read but not complete the next set of steps. In this case, you will be shar-
ing the same database with your classmates, so you might see data that you did not
add in the database or you might observe that data you added is removed. If you are
creating the database on your remote server, you need to contact your ISP (or your IT
department) and have a technical support person create an empty MySQL database,
name the empty database “nbf_db,” and provide you with access information. After the
Search WWH ::




Custom Search