random

  • Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

Beowolf

hail to the king
Feb 2, 2003
1,545
0
0
barracksnetwork.com
I DL'ed this code from here:

<?php
unset($max, $dir, $handle, $file, $current, $rand);
$max = 0;
$dir = getcwd();
if ($handle = opendir("$dir")) {
while (false !== ($file = readdir($handle))) {
if ($file != "." && $file != ".." && $file != "$PHP_SELF") {
$max = $max + 1; } }
closedir($handle); }
$rand = rand("1", "$max");
$current = 0;
if ($handle = opendir("$dir")) {
while (false !== ($file = readdir($handle))) {
if ($file != "." && $file != ".." && $file != "$PHP_SELF") {
$current = $current + 1;
if($current==$rand) { @readfile("$file"); } } }
closedir($handle);
}
?>

What do I do now? I have my own host space.