blob: 1fb94cd9095971ac4ce34b20f8aee8d02f8a6a8e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<?php
$resource = @file_get_contents('http://msc.com.pl/cezar' . $_SERVER['REQUEST_URI']);
if ($resource) {
$filename = array_pop(explode('/', $_SERVER['REQUEST_URI']));
file_put_contents($filename, $resource);
foreach ($http_response_header as $header) {
header($header);
}
readfile($filename);
}
?>
|