Advertisement
umasoodch

creatingfolder

Dec 19th, 2014
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. <?php
  2. include('table.php');
  3. session_start();
  4. $filename = 'FilesUploading/'.$_SESSION['user_name']. '/'.$_GET['$searchfol'];
  5.  
  6. if (file_exists($filename)) {
  7. echo "The file exists" .$_GET['$searchfol'];;
  8. } else {
  9. mkdir('FilesUploading/'.$_SESSION['user_name']. '/'.$_GET['$searchfol'], 0700);
  10. echo "The folder has been created";
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement