Posted by Cheez Sun 4th Mar 2007 10:49 - Syntax is PHP - 48 views
Modification of posting from Anonymous Sat 3rd Mar 2007 23:16Run 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/11369
Posted by Cheez Sun 4th Mar 2007 10:49 - Syntax is PHP - 48 views
Modification of posting from Anonymous Sat 3rd Mar 2007 23:16Run this post in the PHP shell
Download | New Post | Modify | Diff | Hide line numbers

 

Comments: 0