3DSTownSquare/wirproxy.php
2022-05-26 12:34:34 +00:00

8 lines
No EOL
225 B
PHP
Executable file

<?php
// WeInRe proxy v1.0.0
$prx = file_get_contents("http://localhost:8080/".$_GET["g"]);
$file_info = new finfo(FILEINFO_MIME_TYPE);
$mime_type = $file_info->buffer($prx);
header("Content-Type: ".$mime_type);
echo $prx
?>