First commit

마루마루 관련 파일입니다.
This commit is contained in:
hakasenyang
2016-11-02 08:51:06 +09:00
committed by GitHub
parent d75ab3c422
commit f222156c55
13 changed files with 71131 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
<?php
include '_function.php';
$url = $_GET['url'];
$marumaru = new Marumaru();
$a = parse_url($url);
switch($a['host'])
{
case 'www.yuncomics.com':
case 'blog.yuncomics.com':
case 'marumaru.in':
break;
default:
exit;
}
header('Cache-Control: max-age=86400, public');
header('Expires: '. gmdate('D, d M Y H:i:s \G\M\T', time() + 86400));
header('Content-Type: image/jpeg');
echo $marumaru->WEBParsing($url, NULL, NULL);
?>