Create webproxy.php

This commit is contained in:
Namhyeon Go 2018-06-13 22:30:35 +09:00 committed by GitHub
parent a8d94e7155
commit 4285e2f3d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

9
route/webproxy.php Normal file
View File

@ -0,0 +1,9 @@
<?php
loadHelper("webpagetool");
$url = get_requested_value("url");
if(!empty($url)) {
$response = get_web_page($url, "get.cache");
echo $response['content'];
}