search
HomeDevelopment ToolsdreamweaverHow to use DW to create a PHP site and write PHP programs

How to use Dreamweaver to write PHP programs? How to create a PHP site using DW? The following article will introduce to you how to create a PHP site and write PHP programs in Dreamweaver CS6. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to everyone.

How to use DW to create a PHP site and write PHP programs

##Related recommendations: "

dreamweaver tutorial", "PHP video tutorial"

Dreamweaver Create a PHP site and write a PHP program in CS6

1) Click the "Site"-"New Site" on the menu, as shown in the picture:

How to use DW to create a PHP site and write PHP programs

2) You can see this dialog box. At this time, we give the site a name, for example: MyPHPSite, and select a path in the local site folder. Mine is the htdocs directory under the local server. My settings are as shown in the figure. :

How to use DW to create a PHP site and write PHP programst

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

How to use DW to create a PHP site and write PHP programs

4) A layer that looks very complicated pops up. Here, write the server name arbitrarily and name it yourself. We choose local/network as the connection method because we are doing testing and the PHP environment is installed locally. (If you There is FTP, you can use FTP). As shown in the picture:

How to use DW to create a PHP site and write PHP programst

#5) Other options remain as follows:

bdHow to use DW to create a PHP site and write PHP programst

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:

How to use DW to create a PHP site and write PHP programs

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 the php file. After completion, press F12 to run it in the browser.

For more programming-related knowledge, please visit:

Introduction to Programming! !

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

Statement
This article is reproduced at:csdn. If there is any infringement, please contact admin@php.cn delete

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use