按照视频,test01.com和test02.com测试正常
localhost打开会提示:
Forbidden
You don't have permission to access / on this server.
Apache/2.4.9 (Win32) PHP/5.5.12 Server at localhost Port 80
localhost打开会提示:
Forbidden
You don't have permission to access / on this server.
Apache/2.4.9 (Win32) PHP/5.5.12 Server at localhost Port 80
2016-09-04
//复制当前行 ctrl + alt + 下
//删除当前行 ctrl + d
//上下行互换 alt + 上/下
//行注释 ctrl + /
//块注释 ctrl + shift +/
//删除当前行 ctrl + d
//上下行互换 alt + 上/下
//行注释 ctrl + /
//块注释 ctrl + shift +/
2016-09-04
<?php
$hungernum = 12;
while($hungernum<100){
echo "饿"."<br />";
while($hungernum<100){
echo "没吃饱"."<br />";
$num = rand(1,20);
$hungernum = $hungernum + $num;
}
}
echo "饱"."<br />";
?>
$hungernum = 12;
while($hungernum<100){
echo "饿"."<br />";
while($hungernum<100){
echo "没吃饱"."<br />";
$num = rand(1,20);
$hungernum = $hungernum + $num;
}
}
echo "饱"."<br />";
?>
2016-09-04
就像$c+=6;和$c=$c+6;效果一样,字符串连接运算符用法与其相同,$c .="你好";和$c=$c."你好";效果一样
2016-09-04
Warning: fopen(/webroot/resource/php/f.txt): failed to open stream: No such file or directory in /54/754/EbNo/index.php on line 3
2016-09-03
<?php
$string = "就是就是";
var_dump($string);
echo "<br />";
$string =9494;
var_dump($string);
echo "<br />";
?>
$string = "就是就是";
var_dump($string);
echo "<br />";
$string =9494;
var_dump($string);
echo "<br />";
?>
2016-09-03