一、在HTTP1.0中,状态码500的含义的是什么?如果返回“找不到文件”的提示,则可用header(函数),其语句为?
500 Internal Server Error 服务器遇到了意料不到的情况,不能完成客户的请求 Header(“ HTTP/1.0 404 NOT FOUND”);
arsort:对数组进行逆向排序并保持索引关系;error_reporting(2047)的作用是:report All errors and warnings
在如何处理失败时,include() 产生一个警告而 require() 则导致一个致命错误; require_once()/include_once()
本函数取得 PHP 环境配置的变量 magic_quotes_gpc (GPC, Get/Post/Cookie) 值。返回 0 表示关闭本功能;返回 1 表示本功能打开。当 magic_quotes_gpc 打开时,所有的 ' (单引号), " (双引号), \ (反斜线) and 空字符会自动转为含有反斜线的溢出字符。
结束标识符所在的行不能包含任何其它字符除";"
preg_replace('/\d/U','',$string);
find /data1/source +size >100k | cp ~/temp/35/
find ./-type f:找寻当前目录下的类型为f的文件
-a 归档模式,递归传输文件;-v 详细模式输出;-u, --update 仅仅进行更新,也就是跳过所有已经存在于DST,并且文件时间晚于要备份的文件。(不覆盖更新的文件)
function test(){
this.msg='hello';
msg='nice';
this.test=function(){
msg='hi';
var msg='good';
return this.msg;
}
return this;
}
var x=new test().test();
var y=test().test();
value of x is__hello___;
value of y is ___nice___;
<div id="box">
<img src="/xx/" alt="" />
</div>
#box{
width:200px;
height:200px;
text-align:center;
line-height:200px;
}