Posted by Anonymous Sat 3rd Mar 2007 23:16 - Syntax is PHP - 58 viewsRun this post in the PHP shell
Download | New Post | Modify | Diff | Hide line numbers
PHP parser reported no syntax errors in this post!
  1.     $directory = '/home/angel/public_html/videos/';
  2.     chdir($directory);
  3.     $files = glob('{*.wma,*.avi,*.wmv', GLOB_BRACE);
  4.     header('Location: /videos/' . $files[array_rand($files)]);
  5. ?>

PermaLink to this entry https://pastebin.co.uk/11358

The following amendments have been posted:

  1. Cheez (Sun 4th Mar 2007 10:49)
Posted by Anonymous Sat 3rd Mar 2007 23:16 - Syntax is PHP - 58 viewsRun this post in the PHP shell
Download | New Post | Modify | Diff | Hide line numbers

 

Comments: 0