After defining the Dreamweaver remote folder, specify a folder to process dynamic pages. Dreamweaver uses this folder to display dynamic pages and connect to databases while youre developing your application.
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) because they point to a server capable of processing PHP pages.
Dreamweaver enters the settings you specified in the Remote Info category. Leave the settings unchanged.
To display live data in your pages while you work, Dreamweaver creates a temporary file, copies it to the websites 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).
For the PHP sample content in Windows, the prefix should be as follows:
URL Prefix: http://localhost/MySampleApps/
On the Macintosh, the prefix should be as follows:
URL Prefix: http://localhost/
~your_user_name/MySampleApps/
TIP |
|
The URL prefix should always specify a directory, rather than a particular page on the site. Also, be sure to use the same capitalization you used when you created the folder. |
After specifying a folder to process dynamic pages, upload the sample files to the web server. (See Uploading the sample files.)