PHP development tools zend studio

 

 

First, build a PHP development environment
Apahce server
Dreamwear create a site

image.png

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>创建表单</title> </head> <body> <form id="form1" name="form1" method="post" action="doindex.php"> <table width="495" border="1" cellpadding="1" cellspacing="1" bordercolor="#FFFFFF" bgcolor="#006633"> <tr> <th width="123" align="right" bgcolor="#FFFFFF" scope="col">会员名称</th> <th width="299" align="left" bgcolor="#FFFFFF" scope="col"><input name="username" type="text" id="username" size="20" /> <input type="hidden" name="hiddenField" value="PHP" /></th> </tr> <tr> <td align="right" bgcolor="#FFFFFF">简介:</td> <td bgcolor="#FFFFFF"><textarea name="text" id="text">请输入您的个人信息</textarea></td> </tr> <tr> <td align="right" bgcolor="#FFFFFF">个人爱好:</td> <td bgcolor="#FFFFFF"><input name="checkbox" type="checkbox" value="checkbox" checked="checked" /> 音乐 <input type="checkbox" name="checkbox2" value="checkbox" /> 体育 <input type="checkbox" name="checkbox3" value="checkbox" /> 文学</td> </tr> <tr> <td align="right" bgcolor="#FFFFFF">性别:</td> <td bgcolor="#FFFFFF"><input type="radio" name="nan" value="男" /> 男 <input type="radio" name="nv" value="nv" /> 女</td> </tr> <tr> <td align="right" bgcolor="#FFFFFF">语言选择:</td> <td bgcolor="#FFFFFF"><p> <label> <input type="radio" name="RadioGroup1" value="PHP" /> PHP</label> <br /> <label> <input type="radio" name="RadioGroup1" value="Java" /> Java</label> <br /> <label> <input type="radio" name="RadioGroup1" value="VB" /> VB</label> <br /> </p></td> </tr> <tr> <td align="right" bgcolor="#FFFFFF">图书选择:</td> <td bgcolor="#FFFFFF"><select name="select"> <option value="PHP开发实战宝典">PHP开发实战宝典</option> <option value="Java开发实战宝典">Java开发实战宝典</option> <option value="VB开发实战宝典">VB开发实战宝典</option> </select> </td> </tr> <tr> <td align="right" bgcolor="#FFFFFF">头像选择:</td> <td bgcolor="#FFFFFF"><input type="file" name="file" /></td> </tr> <tr> <td colspan="2" align="center" bgcolor="#FFFFFF"><input type="submit" name="Submit" value="提交" /> <input type="reset" name="Submit2" value="重置" /></td> </tr> </table> </form> </body> </html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>处理提交表单信息</title> </head> <body> <p><?php echo '欢迎你'.$_POST['username'];?></p> </body> </html>

For PHP web developers, choose an easy to use PHP development tools is very important, the relatively well-known PHP development tools zend studio, etc.

zend studio more powerful, it is recommended to use zend studio.

zend studio entry

Development environment

ZendStudio-9.0.3
wampserver2.2e-php5.4.3-httpd2.2.22-mysql5.5.24-32b

If your machine is not installed Vs2010, install Vs2010 runtime environment: vcredist_x86.exe

Zend installation
install zendStudio by default
"com.zend.php.core_9.0.3.201205071416.jar" copied to the "plugins" subdirectory of the installation directory, overwriting files of the same name
started zendStudio, enter the registration code at the prompt box

Installation wampserver2.2e
download the installation files from www.wampserver.com

Installation methods
need to install vs2010 runtime
default installation wampserver2.2e

Create a new project
file new local php Project
on the left Workspace
select New | PHP Project menu

image.png

Fill Project Description
Project name (Project Name)
specific directory address where the selected item
to run Php file
browser address bar, enter
http: // localhost / project name / file name .php

Php debugging
using the debugging xdebug

image.png

Php.ini modify
the original content
image.png
modified as follows
image.png

Restart wampserver

zend studio configuration

image.png

image.png

Specifies the php interpreter

image.png

Php debugging parameters specified

image.png

Php debugging

<?php
$a = 33;
$b = 44;
$c = 55; echo $a; echo $b; echo $c; ?>

zend studio entry complete!

 

Guess you like

Origin www.cnblogs.com/daofaziran/p/11571898.html