Graphics Programs Reference
In-Depth Information
ASP.NET C#, ASP.NET VB, ColdFusion, JSP, or PHP MySQL as the document type. For
the NextBest Fest site, you will use PHP.
Step 3: Set up the site's testing server. In this step, you specify the testing server in the
site defi nition. You cannot preview dynamic pages from within Dreamweaver until you
specify a folder in which the dynamic pages can be processed. Dreamweaver uses this
folder to generate dynamic content and to connect to the database while you work.
For the NextBest Fest site, you will use the root folder you created on your remote
server for your NextBest Fest site because the server usually runs an application server
that can handle the dynamic pages. You can, however, specify a different location for
the testing server as long as it can handle dynamic pages. When you set up the testing
server for a professional site that is already live, you might designate a separate folder
on another server where you can test the pages without affecting the live site.
Comparing Modified Times of Local and Server Files
Some of the files required for server-side processing are located outside of the Web
page. Therefore, whenever you upload pages to your remote or testing server, you
must also upload dependent files. As you upload files, a dialog box might open, indi-
cating that you are trying to overwrite newer files with older files. This occurs because
Dreamweaver has a feature that compares the modified time of local files with the modi-
fied time of server files. If the time on either the server or your computer is inaccurate
and your local computer time is behind the server time, Dreamweaver sees the file on
the server as newer and notifies you that you are overwriting a newer file with an older
file. Click the OK button each time you see this message.
You'll open the contact.html page and complete Steps 2 and 3 in the Server
Behaviors panel.
To select the document type and set the testing server:
1. Open the contact.html page in Design view, and then open the Server
Behaviors panel.
You can press the
Ctrl+F9 keys to open
and close the Server
Behaviors panel.
2. In the Server Behaviors panel, click the document type link. The Choose
Document Type dialog box opens. See Figure 9-6.
Figure 9-6
Choose Document Type dialog box
select the
document type
3. Click the document type button, click PHP , and then click the OK button. The
Update Files dialog box opens. You will update the links in all the listed files.
4. Click the Update button to update the links. The file extension for the contact
page changes to .php, and the Update Files dialog box opens, indicating that
the contact.php page could not be updated. You will update the link in the
contact.php page yourself.
Search WWH ::




Custom Search