Advertisement
melody45

Untitled

Dec 18th, 2014
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. <?php
  2. session_start();
  3. $dir_path = $_GET['name'];
  4. $_SESSION['currentDirectory'] = $_GET['name'];
  5. echo $dir_path."<br >";
  6. ?>
  7. <form action ="uploading_folder.php?name=<?php echo $dir_path ?>" method="post" enctype="multipart/form-data">
  8. Select the file to upload:
  9. <br/><br/>
  10. <input type="file" name="fileToUpload" id="fileToUpload">
  11. <br/><br/>
  12. <input type="submit" value="Upload" name="submit">
  13. </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement