已采纳回答 / 白素贞的许仙
\a 响铃(BEL) 007 \b 退格(BS) 008 \f 换页(FF) 012 \n 换行(LF) 010 \r 回车(CR) 013 \t 水平制表(HT) 009 \v 垂直制表(VT) 011 \\ 反斜线 092 ​ ​ ​ \' 单引号字符 039 \"...
2016-10-26
已采纳回答 / MaxJin
<?php$data_int1=123;echo $data_int1;echo "<br />";$data_int2=-123;echo $data_int2;echo "<br />";$data_int3=0123;//八进制echo $data_int3;echo "<br />";$data_int4=0x123;//十六进制echo $data_int4;echo "<br />";?>
2016-10-26
已采纳回答 / 慕运维7860890
PHP要对数据库进行操作,首先要做的是与数据库建立连接,通常我们使用mysql_connect函数进行数据库连接,该函数需要指定数据库的地址,用户名及密码。$host = 'localhost';$user = 'code1';$pass = '';$link = mysql_connect($host, $user, $pass);PHP连接数据库的方式类似于直接在命令行下通过进行连接,类似:mysql -hlocalhost -ucode1 -p,当连接成功以后,我们需要选择一个操作的数据库,通过my...
2016-10-25
已采纳回答 / bluess3634987
ServerName 将localhost改为文件目录e:/Demo/test01DocumentRoot 将 ${INSTALL_DIR}/www改为域名 test01.comRequire local改为Require all granted保存就可以了
2016-10-24
已采纳回答 / 朕当时就慌了
路径对么,C:\Windows\System32\drivers\etc,不对空白加上# Copyright (c) 1993-2009 Microsoft Corp.## This is a sample HOSTS file used by Microsoft TCP/IP for Windows.## This file contains the mappings of IP addresses to host names. Each# entry should be kept on an indi...
2016-10-23