代码初始化
This commit is contained in:
11
web/image.php
Normal file
11
web/image.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
set_time_limit ( 0 );
|
||||
ini_set("memory_limit","-1");
|
||||
header("Content-Type: image/JPEG");
|
||||
if (!empty($_GET["url"])) {
|
||||
$url = $_GET["url"];
|
||||
$arr = get_headers($url, true);
|
||||
header("content-length:" . $arr["Content-Length"]);
|
||||
readfile($url);
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user