-
<?php echo "Welcome to imooc!"; ?>查看全部
-
+加 -减 *乘 /除 %取余查看全部
-
foreach($array_name as $value_name) just value foreach($array_name as $the_follow_table_name=>$value_name) both the follow table and value查看全部
-
javacript运行在客户端, PHP运行在服务器端 echo使PHP输出命令(输出一串字符)查看全部
-
The for statement works for free first. and then it will judge whether the state meets conditions .查看全部
-
http://www.imooc.com/wiki/view?pid=123 date_default_timezone_set('asia/shanghai'); is able to get time.查看全部
-
<?php $data_int = 1234; // 十进制数 $data_int = -567; // 一个负数 $data_int = 0123; // 八进制数(等于十进制的 83) $data_int = 0x1a; // 十六进制数(等于十进制的 26) ?>查看全部
-
1.apach:config:httpd.vhost.conf: ServerAdmin用来设置管理员邮箱地址 DocumentRoot文件目录网站代码目录 ServerName主机名域名(test01.com) 2.httpd.vhost.conf是扩展文件,默认不加载,要告诉apach包含这个文件,这部分在httpd.conf文件中修改: httpd-vhost将include conf/extra/httpd-vhost.conf前的井号去掉 3.修改成允许其他地址访问本地资源: 在directory 网站所在文件夹 下面快结束的时候找到Deny from all拒绝查看全部
-
break的作用是阻止代码进入下一个case 中继续执行查看全部
-
系统常量是PHP已经定义好的常量,我们可以直接拿来使用,常见的系统常量有: (1)__FILE__ :php程序文件名。它可以帮助我们获取当前文件在服务器的物理位置。 (2)__LINE__ :PHP程序文件行数。它可以告诉我们,当前代码在第几行。 (3)PHP_VERSION:当前解析器的版本号。它可以告诉我们当前PHP解析器的版本号,我们可以提前知道我们的PHP代码是否可被该PHP解析器解析。 (4)PHP_OS:执行当前PHP版本的操作系统名称。它可以告诉我们服务器所用的操作系统名称,我们可以根据该操作系统优化我们的代码。查看全部
-
$c=$c.%b and $c.=$b are the same.查看全部
-
. just connent string with vaviable but .= is able to add the right thing to the left.查看全部
-
常量主要功效是可以避免重复定义,篡改变量值。查看全部
-
without () ,a and b?"通过":"不通过" will work b?"通过":"不通过" first and then Comparison of a and "通过"。 so the answer is 1.查看全部
-
修改Apache配置文件 里的 DocumentRoot 目录 修改wampmanager.ini menu.left wampmanager.tpl menu.left w_wwwDirectory查看全部
举报
0/150
提交
取消