fork download
  1. <!DOCTYPE html>
  2. <!--
  3. To change this license header, choose License Headers in Project Properties.
  4. To change this template file, choose Tools | Templates
  5. and open the template in the editor.
  6. -->
  7. <html>
  8. <head>
  9. <meta charset="UTF-8">
  10. <title></title>
  11. </head>
  12. <body>
  13. <?php
  14. // put your code here
  15. include './DBConnect.php';
  16. ?>
  17. <h1>hello</h1>
  18. </body>
  19. </html>
  20.  
Success #stdin #stdout #stderr 0.02s 24448KB
stdin
Standard input is empty
stdout
<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
    </head>
    <body>
                <h1>hello</h1>
    </body>
</html>
stderr
PHP Warning:  include(./DBConnect.php): failed to open stream: No such file or directory in /home/Oxg3wr/prog.php on line 15
PHP Warning:  include(): Failed opening './DBConnect.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /home/Oxg3wr/prog.php on line 15