Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. <input id="submitQ" name="submitQ" type="submit" value="">`
  2.  
  3. $action = $_GET["action"];
  4. $myText = $_POST["mytext"];
  5.  
  6. if($action = "save") {
  7. $targetFolder = "uploads/";
  8. file_put_contents($targetFolder."mytext.txt", $myText);
  9. }
  10.  
  11. const formData = document.getElementById('QForm').value;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement