Testing PHP code in dreamweaver

假装没事ソ 提交于 2019-12-11 19:53:40

问题


I'm currently developing a simple web based application which is using HTML, CSS, PHP and JavaScript. I'm developing this with Adobe Dreamweaver 3.0 and I have used procedural PHP in writing server side scripting. Now, I want to test the PHP codes. Can someone tell me how can I test the procedural PHP code in dreamweaver?


回答1:


You need install a webserver and php in your computer to test localy your site. I recomend you XAMPP.

https://www.apachefriends.org/index.html

It's the easy way to install all that you need.




回答2:


To run your code you need a server installed in your machine. After successfully installing the server your need to start that server. To check is your server working? Open a browser and type localhost or 127.0.0.1.

Also you need to put your php file inside the server DocumentRoot Folder In Xammp server it located here C:\xampp\htdocs\ In Vertrigo server it located here C:\VertrigoServ\www\

It will display the localhost page like this.


In Xampp Server


In Vertigo Server



来源:https://stackoverflow.com/questions/24977439/testing-php-code-in-dreamweaver

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!