Location: PHPKode > scripts > Simple File Uploader > simple-file-uploader/upload to server/config.php
<?
/*
Upload directory or folders list example
- - - - - - - - - - - - - - - - - -
  "images" => array(
      "dir"     =>"uploads/images",
      "password"=>"images",
  ),
- - - - - - - - - - - - - - - - - -
"images" - just section name (any name you like), it is a key
"name" - the dir(folder) name in select box
"dir" - path to uploaded files
"password" - "dir" password
*/
$upload_dirs = array(
  "images" => array(
      "dir"     =>"uploads/images/",
      "name"    =>"Images folder",
      "password"=>"images",
  ),
  "docs" => array(
      "dir"     =>"uploads/documents/",
      "name"    =>"Documents",
      "password"=>"documents",
  ),
  
);

$max_file_size = 500000*1024; //max file upload size (in bytes - 1024 bytes = 1Mb)
?>
Return current item: Simple File Uploader