sak1b

js value to PHP

Dec 8th, 2018
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. <html>
  2. <head>
  3. <title>Untitled</title>
  4.  
  5.  
  6.  
  7. <?php
  8. echo "<script> var p1 = 'success'; </script>"
  9. ?>
  10.  
  11. </head>
  12.  
  13. <body>
  14.  
  15. <?php
  16. echo "<script>document.writeln(p1);</script>";
  17. ?>
  18.  
  19. </body>
  20. </html>
Advertisement
Add Comment
Please, Sign In to add comment