To specify the folder to process dynamic pages:
1.
In the advanced Site Definition dialog box, click Testing Server in the
Category list.
The Testing Server screen appears. Dreamweaver needs the services of a
testing server to generate and display dynamic content while you work.
The testing server can be your local computer, a development server, a
staging server, or a production server, as long as it can process PHP
pages. In many situations, including setting up for the Cafe Townsend
site, you can use the same settings as the Remote Info category (see
Defining a remote folder on page 313
) because they point to a server
capable of processing PHP pages.
2.
Select PHP MySQL from the Server Model pop up menu.
3.
In the Access pop up menu, select the same method (Local/Network or
FTP) you specified for accessing your remote folder.
Dreamweaver enters the settings you specified in the Remote Info
category. Leave the settings unchanged.
4.
In the URL Prefix text box, enter the root URL you would enter in a
web browser to request a page in your web application.
To display live data in your pages while you work, Dreamweaver creates
a temporary file, copies it to the website's root folder, and attempts to
request it using the URL prefix.
Dreamweaver makes a best guess at the URL prefix based on the
information you provided in the Site Definition dialog box. However,
the suggested URL prefix may be incorrect. Correct or enter a new
URL prefix if the suggestion in Dreamweaver is incorrect. For more
information, see Setting the URL prefix in Using Dreamweaver
(Help > Using Dreamweaver).
TIP
For the PHP sample content in Windows, the prefix should be as
The URL prefix
follows:
should always
URL Prefix:
http://localhost/MySampleApps/
specify a directory,
rather than a
On the Macintosh, the prefix should be as follows:
particular page on
URL Prefix:
http://localhost/
~your_user_name
/MySampleApps/
the site. Also, be sure
5.
to use the same
Click OK to define the site and dismiss the Site Definition dialog box,
capitalization you
and then click Done to dismiss the Manage Sites dialog box.
used when you
After specifying a folder to process dynamic pages, upload the sample files
created the folder.
to the web server.
314 Setup for Sample PHP Site
footer
Our partners:
PHP: Hypertext Preprocessor Best Web Hosting
Java Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved