Advertisement
Eeems

Untitled

May 24th, 2011
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.26 KB | None | 0 0
  1. <?php
  2.         header("Content-Type: image/jpg");
  3.         $d = scandir('.');
  4.         foreach($d as $f)
  5.                 if(end(explode(".", $f))=="jpg")
  6.                         $files[] = $f;
  7.         echo file_get_contents($files[rand(0,count($files))-1]);
  8. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement