fork(3) download
  1. <?php
  2. $a= $_POST['a'];
  3. $b= $_POST['b'];
  4. $c= $_POST['c'];
  5. echo ПХП ОТКРЫЛСЯ И РАБОАТЕТ";
  6. echo $a;
  7. echo $b;
  8. echo $c;
  9. ?>
  10.  
  11. ///////////////////////////////////////////////////////////////////
  12.  
  13. <html>
  14. <head>
  15. <script src="/js/jquery-3.1.1.min"></script>
  16.  
  17. <script>
  18. function init() {
  19. var first = 1;
  20. var second = 2;
  21. var third = 3;
  22. $.post('my.php',{"a":first,"b":second,"c":third});
  23. };
  24. </script>
  25.  
  26. </head>
  27. <body>
  28. <a onClick="init()" href="my.php">Button</a>
  29. </body>
  30. </html>
Runtime error #stdin #stdout #stderr 0.01s 52488KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
PHP Parse error:  syntax error, unexpected 'ОТКРЫЛСЯ' (T_STRING), expecting ',' or ';' in /home/s9KdnE/prog.php on line 5