Initial commit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
header('Content-type: image/jpg');
|
||||
$url = $_GET['url'];
|
||||
$refer = "http://www.qq.com/";
|
||||
$opt = [
|
||||
'http'=>[
|
||||
'header'=>"Referer: " . $refer
|
||||
]
|
||||
];
|
||||
$context = stream_context_create($opt);
|
||||
$file_contents = file_get_contents($url,false, $context);
|
||||
echo $file_contents;
|
||||
Reference in New Issue
Block a user