fork download
  1. <!DOCTYPE HTML>
  2. <html lang="pl">
  3. <head>
  4. <meta charset="utf-8"/>
  5. <?php
  6. include 'class.php';
  7. include 'funkcje.php';
  8.  
  9. //polacz();
  10.  
  11. ?>
  12. <script type="text/javascript"/>
  13. function podaj_slowko()
  14. {
  15. document.getElementById("h1").innerHTML= '<?php echo slowko_do_nauki_z_todo(pl); ?>';
  16. }
  17.  
  18.  
  19. function pobierz_input()
  20. {
  21. var slowko_usera=document.getElementById("od_usera").value;
  22. document.getElementById("h1").innerHTML= 'aaaa';
  23. return slowko_usera;
  24. }
  25. </script>
  26.  
  27.  
  28. </head>
  29.  
  30. <body onload="podaj_slowko()" >
  31. <?php
  32.  
  33. //planuj10();
  34. echo slowko_do_nauki_z_todo(pl);
  35. odczyt_tabeli(todo);
  36. $tmp= new punkty;
  37.  
  38. $tmp-> punkty_powtorkii(0,"+");
  39. echo $tmp->get_czas(); //ryzykowne odwołanie bo pobiera parametry z poprzedniej metody!!
  40. echo "<br/> nowe punkty:".$tmp -> get_punkty()."<br/>";
  41. //echo $tmp;
  42. // order2
  43.  
  44.  
  45. ?>
  46.  
  47.  
  48. <h1 id="h1"> memo1 </h1>
  49.  
  50. <form action="order2.php" method="post">
  51. <input id="od_usera" type="text" name="slowko1"/>;
  52. <br/>
  53. <input type="submit" value="sprawdz" onClick="ss()"/>
  54. </form>
  55.  
  56. <h1 id="h2"> memo2 </h2>
  57. <form action="order2.php" method="post">
  58. <input id="punkty" type="number" name="punkty"/>;
  59. <br/>
  60. <input type="submit" value="sprawdz" />
  61. </form>
  62.  
  63.  
  64.  
  65.  
  66. </body>
  67. </html>
Runtime error #stdin #stdout #stderr 0.02s 24448KB
stdin
Standard input is empty
stdout
<!DOCTYPE HTML>
<html lang="pl">
<head>
	<meta charset="utf-8"/>
<script type="text/javascript"/>
    function podaj_slowko()
        {
        document.getElementById("h1").innerHTML= '
stderr
PHP Warning:  include(class.php): failed to open stream: No such file or directory in /home/BsBA2v/prog.php on line 6
PHP Warning:  include(): Failed opening 'class.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /home/BsBA2v/prog.php on line 6
PHP Warning:  include(funkcje.php): failed to open stream: No such file or directory in /home/BsBA2v/prog.php on line 7
PHP Warning:  include(): Failed opening 'funkcje.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /home/BsBA2v/prog.php on line 7
PHP Fatal error:  Call to undefined function slowko_do_nauki_z_todo() in /home/BsBA2v/prog.php on line 15