摘要:
#如果存在rewrite_module 模块则执行里面的代码 #开启重写机制 RewriteEngine On #告诉apache这里不是文件 RewriteCond %{REQUEST_FILENAME} !-f #告诉apache这里不是目录 RewriteCond %{REQUEST_FILENAME} !-d #重... 阅读全文
posted @ 2017-04-20 15:15
刘俊涛的博客
阅读(306)
评论(0)
推荐(0)
摘要:
1 2 3 4 5 Document 6 7 8 13 14 阅读全文
posted @ 2017-04-20 14:40
刘俊涛的博客
阅读(414)
评论(0)
推荐(0)
摘要:
1 2 3 4 5 Document 6 7 8 9 10 aaaa 11 aaaa 12 aaaa 13 aaaa 14 aaaa 15 16 17 ... 阅读全文
posted @ 2017-04-20 11:39
刘俊涛的博客
阅读(305)
评论(0)
推荐(0)
摘要:
1 2 3 4 5 Document 6 22 23 24 25 26 阅读全文
posted @ 2017-04-20 11:36
刘俊涛的博客
阅读(2566)
评论(0)
推荐(0)
摘要:
parse_ini_file— 解析一个配置文件、 阅读全文
posted @ 2017-04-20 11:11
刘俊涛的博客
阅读(4575)
评论(0)
推荐(0)
摘要:
1 <?php 2 //遍历文件夹 3 function my_scandir($dir){ 4 $files = array(); 5 if (is_dir($dir)){ 6 if($handle = opendir($dir)){ 7 while(($file = readdir($handle)) !== false... 阅读全文
posted @ 2017-04-20 10:41
刘俊涛的博客
阅读(300)
评论(0)
推荐(0)
摘要:
1 <?php 2 3 $url = "http://www.baidu.com/s?wd=刘俊涛的博客"; 4 5 $header = array( 6 'User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.146 Safari/... 阅读全文
posted @ 2017-04-20 10:39
刘俊涛的博客
阅读(999)
评论(0)
推荐(0)
摘要:
1 1000) 12 break; 13 } 14 return $arr; 15 } 16 $a = feibonaqi(); 17 ECHO ""; 18 print_r($a); 阅读全文
posted @ 2017-04-20 10:37
刘俊涛的博客
阅读(620)
评论(0)
推荐(0)
摘要:
Php取扩展名 /** * 取扩展名 */ function getext($url){ $base = parse_url($url); $name = basename($base['path']); $ext = explode('.',$name); var_dump($ext[count( 阅读全文
posted @ 2017-04-20 10:33
刘俊涛的博客
阅读(188)
评论(0)
推荐(0)

浙公网安备 33010602011771号