247410
314
Zoom out
Zoom in
Previous page
1/326
Next page
314 Setup for Sample PHP Site
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).
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/
5. Click OK to define the site and dismiss the Site Definition dialog box,
and then click Done to dismiss the Manage Sites dialog box.
After specifying a folder to process dynamic pages, upload the sample files
to the web server.
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.
314


Need help? Post your question in this forum.

Forumrules


Report abuse

Libble takes abuse of its services very seriously. We're committed to dealing with such abuse according to the laws in your country of residence. When you submit a report, we'll investigate it and take the appropriate action. We'll get back to you only if we require additional details or have more information to share.

Product:

For example, Anti-Semitic content, racist content, or material that could result in a violent physical act.

For example, a credit card number, a personal identification number, or an unlisted home address. Note that email addresses and full names are not considered private information.

Forumrules

To achieve meaningful questions, we apply the following rules:

Register

Register getting emails for Macromedia dreamweaver 8 at:


You will receive an email to register for one or both of the options.


Get your user manual by e-mail

Enter your email address to receive the manual of Macromedia dreamweaver 8 in the language / languages: English as an attachment in your email.

The manual is 10,74 mb in size.

 

You will receive the manual in your email within minutes. If you have not received an email, then probably have entered the wrong email address or your mailbox is too full. In addition, it may be that your ISP may have a maximum size for emails to receive.

Others manual(s) of Macromedia dreamweaver 8

Macromedia dreamweaver 8 User Manual - English - 19 pages


The manual is sent by email. Check your email

If you have not received an email with the manual within fifteen minutes, it may be that you have a entered a wrong email address or that your ISP has set a maximum size to receive email that is smaller than the size of the manual.

The email address you have provided is not correct.

Please check the email address and correct it.

Your question is posted on this page

Would you like to receive an email when new answers and questions are posted? Please enter your email address.



Info