forked from leftypol/leftypol
Remove legacy c.php
This commit is contained in:
parent
a8a8bea834
commit
26ca994be8
1 changed files with 0 additions and 20 deletions
20
c.php
20
c.php
|
@ -1,20 +0,0 @@
|
||||||
<?php
|
|
||||||
$dir = "banners/";
|
|
||||||
$files = scandir($dir);
|
|
||||||
$images = array_diff($files, array('.', '..'));
|
|
||||||
$name = $images[array_rand($images)];
|
|
||||||
$fp = fopen($dir . $name, 'rb');
|
|
||||||
|
|
||||||
// send the right headers
|
|
||||||
header('Cache-Control: no-cache, no-store, must-revalidate'); // HTTP 1.1
|
|
||||||
header('Pragma: no-cache'); // HTTP 1.0
|
|
||||||
header('Expires: 0'); // Proxies
|
|
||||||
header('Content-Type: ' . $fp['type']);
|
|
||||||
header('Content-Length: ' . $fp['bytes']);
|
|
||||||
|
|
||||||
// dump the picture and stop the script
|
|
||||||
//fpassthru($fp);
|
|
||||||
print($fp['type']);
|
|
||||||
print('dicks');
|
|
||||||
exit;
|
|
||||||
?>
|
|
Loading…
Add table
Add a link
Reference in a new issue