Advertisement
Guest User

Untitled

a guest
Dec 7th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.27 KB | None | 0 0
  1. <?php
  2. session_start();
  3.  
  4. echo $nowyfolder=$_POST['dir'];
  5. mkdir('cloud/'.$_SESSION['uzytkownik'].'/'.$nowyfolder,0777,true);
  6.  echo "<script>
  7.             alert('Poprawnie utworzono folder! ');
  8.              window.location.href = 'account.php';
  9.            
  10.     </script>";
  11.  
  12.  
  13. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement