echo $_SERVER['PHP_SELF']; echo $_SERVER["HTTP_REFERER"];
0
(4)未授權 (5) header("HTTP/1.0 404 Not Found");
(6)對數組進行逆向排序並保持索引關系 (7)All errors and warnings
/<[^>].*?>.*?<\/>/si
(10) LoadModule php5_module "D:/xampp/apache/bin/php5apache2.dll" (11) AddType application/x-httpd-php-source .phps AddType application/x-httpd-php .php .php5 .php4 .php3 .phtml
(12) 發生異常時include產生警告require產生致命錯誤 (13) require_once()/include_once()
serialize() /unserialize()
allow_call_time_pass_reference
(16) 自然左外連接 (17) select name , count(score) as sum_score from tbl_user left join tbl_score on tbl_user.ID=tbl_score.ID group by tbl_user.ID
結束標識符所在的行不能包含任何其它字符除";"
/**
* 遍歷目錄,結果存入數組。支持php4及以上。php5以後可用scandir()函數代替while循環。
* @param string $dir
* @return array
*/
my_scandir($dir)
{
$files = array();
if ( $handle = opendir($dir) )
{
while ( ($file = readdir($handle)) !== false )
{
if ( $file != ".." && $file != "." )
{
if ( is_dir($dir . "/" . $file) )
{
$files[$file] = rec_scandir($dir . "/" . $file);
}
else
{
$files[] = $file;
}
}
}
closedir($handle);
return $files;
}
}