Guest User

Untitled

a guest
Dec 17th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. <form id="fileform" action="php/upload2.php" method="post" enctype="multipart/form-data">
  2. <div class="form-group"> <input name="upload[]" type="file" multiple="multiple" class="form-control-file text-white"> </div>
  3. <div class="form-group"><label><b class="text-white">Generated Identifier</b></label><input type="text" id="generatedidentifier" name="ab" class="form-control" disabled=""></div>
  4. </form>
  5.  
  6. if (isset($_POST["ab"]))
  7. {
  8. $identifier = $_POST["ab"];
  9. echo $identifier;
  10. echo " is the ID";
  11. }
  12. else
  13. {
  14. $identifier = null;
  15. echo "no ID supplied";
  16. }
Add Comment
Please, Sign In to add comment