Use Dreamweaver CS6 to write PHP programs and create PHP sites using DW

Source: Internet
Author: User
Tags php mysql php programming

The main content of this article is to introduce the use of Dreamweaver CS6 to write PHP programs and use DW to create a PHP site, the need for friends can refer to

1) Click the "Site"-"new Site" on the menu,

2) can see this dialog box, this time, we give the site a name, for example: Myphpsite, select a path in the local site folder, my is the local server Htdocs directory, my Settings

3) Select OK, click "Server", then click "Plus" small icon,

4) pop up a layer that looks very complex, here, the server name arbitrarily write, own named, connection method we choose local/network, because we are doing tests, PHP environment is installed locally, (if you have FTP, you can use FTP).

5) Other options keep the following settings:

I choose the server folder or the original directory, the Web URL we write http://127.0.0.1/, this weburl is to be in the DW directly F12 preview PHP page when used.

6) Then switch to advanced options, we select a server model, because we use PHP programming, this example we choose PHP MySQL, here are other options,

We want to choose according to our own web development language, if you use JSP, then please choose JSP. What language you choose. Select OK and click "Save", save, complete ok!.

7) Create PHP files under this site, or import PHP files, and when finished, press F12 to run in the browser.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.