3.0的版本 httpd-vhosts.conf文件
<VirtualHost *:80>
ServerName test02.com
DocumentRoot f:\Demo\test02
<Directory "f:\Demo\test02">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName test02.com
DocumentRoot f:\Demo\test02
<Directory "f:\Demo\test02">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
2017-07-19
<?php
$str_string1 = '甲问:"你在哪里学的PHP?"';
$str_string2 = "乙毫不犹豫地回答:'当然是慕课网咯!'";
$str_string3='甲问:\'能告诉我网址吗?\'';
$str_string4 = "乙答道:\"www.imooc.com\"";
echo $str_string1;
echo "<br />";
echo $str_string2;
echo "<br />";
echo $str_string3;
echo "<br />";
echo $str_string4;
echo "<br />";
?>
$str_string1 = '甲问:"你在哪里学的PHP?"';
$str_string2 = "乙毫不犹豫地回答:'当然是慕课网咯!'";
$str_string3='甲问:\'能告诉我网址吗?\'';
$str_string4 = "乙答道:\"www.imooc.com\"";
echo $str_string1;
echo "<br />";
echo $str_string2;
echo "<br />";
echo $str_string3;
echo "<br />";
echo $str_string4;
echo "<br />";
?>
2017-07-19
我饿啦:-(
我还没吃饱呢!HP12
我还没吃饱呢!HP21
我还没吃饱呢!HP31
我还没吃饱呢!HP50
我还没吃饱呢!HP68
我还没吃饱呢!HP88
系统提示:宠物已死亡 HP:108
我还没吃饱呢!HP12
我还没吃饱呢!HP21
我还没吃饱呢!HP31
我还没吃饱呢!HP50
我还没吃饱呢!HP68
我还没吃饱呢!HP88
系统提示:宠物已死亡 HP:108
2017-07-19
$money=$today==$birthday?$money*$discount:$money*1;与if....else同样可以吧
2017-07-19