Home > Backend Development > PHP Tutorial > Use Dreamweaver CS6 to write PHP programs and use DW to create PHP sites

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

不言
Release: 2023-03-23 11:22:01
Original
7277 people have browsed it

The main content of this article is to introduce the use of Dreamweaver CS6 to write PHP programs and use DW to create PHP sites. Friends in need can refer to it

1) Click this "Site" on the menu-" New site", as shown in the figure:

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

2) You can see this dialog box. At this time, we give the site a name, for example: MyPHPSite, in the local site folder Select a path, mine is the htdocs directory under the local server, my settings are as shown below:

Use Dreamweaver CS6 to write PHP programs and use DW to create PHP sitest

3) After selecting, click "Server", and then click " Plus sign" small icon, as shown in the picture:

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

4) A very complicated-looking layer pops up. Here, write the server name arbitrarily, name it yourself, and choose the connection method. Local/Network, since we are doing testing, the PHP environment is installed locally, (if you have FTP, you can use FTP). As shown in the picture:

Use Dreamweaver CS6 to write PHP programs and use DW to create PHP sitest

#5) Other options remain as follows:

bdUse Dreamweaver CS6 to write PHP programs and use DW to create PHP sitest

The server folder I selected is still the original one For that directory, we write http://127.0.0.1/ as the Web URL. This weburl is used when previewing the php web page directly with F12 in DW.

6) Then switch to the advanced options, we select a server model, since we use PHP programming, in this case we select PHP MySQL, there are other options here, as shown in the figure:

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

We have to choose according to our own WEB development language. If you use JSP, then please choose JSP. Choose whatever language it is. After selecting, click "Save" to save and complete OK! .

7) Create a php file under the site, or import a php file. After completion, press F12 to run it in the browser.



The above is the detailed content of Use Dreamweaver CS6 to write PHP programs and use DW to create PHP sites. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template