Source for file check.php

Documentation is available at check.php

  1. <?php
  2. // Uploadify v1.6.2
  3. // Copyright (C) 2009 by Ronnie Garcia
  4. // Co-developed by Travis Nickels
  5. $fileArray array();
  6. foreach ($_POST as $key => $value{
  7.     if ($key != 'folder'{
  8.         if (file_exists($_SERVER['DOCUMENT_ROOT'$_POST['folder''/' $value)) {
  9.             $fileArray[$key$value;
  10.         }
  11.     }
  12. }
  13. echo json_encode($fileArray);
  14. ?>

Documentation generated on Fri, 17 Jul 2009 11:01:04 +0100 by phpDocumentor 1.4.0