-
<?php
-
/**
-
.htaccess
-
RewriteEngine on
-
RewriteCond %{SCRIPT_FILENAME} !-f
-
RewriteCond %{SCRIPT_FILENAME} !-d
-
RewriteRule ^(.*)$ cache.php
-
*/
-
-
include "mime.php";
-
function mkdir_r($pathname, $mode)
-
{
-
}
-
$host=‘http://www.fabrichina.net’; //looking up Host
-
mkdir_r($filePath,0777);
-
file_put_contents($filePath.$fileName,$test);
-
echo $test;
-
PHP远程文件镜像,运用rewrite可以做到完全无缝cache~~
- No comments yet.
- No trackbacks yet.
Recent Comments