mirror of https://github.com/IoTcat/easyVer.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
280 B
20 lines
280 B
6 years ago
|
<?php
|
||
|
|
||
|
header('content-type:image/png');
|
||
|
|
||
|
$img=rand(1,10);
|
||
|
|
||
|
|
||
|
/*************img display***************/
|
||
|
|
||
|
$filename="img/$img.png";
|
||
|
|
||
|
header( "Content-Length: ".filesize($filename));
|
||
|
|
||
|
ob_clean();
|
||
|
|
||
|
echo file_get_contents($filename);
|
||
|
|
||
|
/*************END::img display***************/
|
||
|
|
||
|
?>
|