<?php

$var = uniqid();
$path = "/home/underweb/www/temp/" . $var ;
$user = "underweb";

echo $path;
mkdir($path, 0775);
chown ($path, $user);
chmod ($path, 0777);
?>








<?

$CaracteresAceitos = 'abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNOPQRSTUVWXYZ0123456789';

$max = strlen($CaracteresAceitos) - 1;

for($x=1; $x<=100; $x++) {
     
      for($i=0; $i < 8; $i++) {
     
         $password .= $CaracteresAceitos{mt_rand(0, $max)};
     
     } 
   
  $y = str_pad($x, 3, "0", STR_PAD_LEFT);
  
  echo $y . " - ". $password ?>  <br /> <? ;
  
  $password = null; 

}

?>