SHARE
TWEET

Untitled

a guest Jul 15th, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <html>
  2. <body>
  3.  
  4. <!--when a file is included with the include statement and PHP cannot find it, the script will continue to execute.-->
  5.  
  6. <br>
  7. using include <br>
  8. <?php include 'noFileExists.php';
  9. echo "I have a $color $car.";
  10. ?>
  11.  
  12. <br>
  13. using require <br>
  14. <?php require 'noFileExists.php';
  15. echo "I have a $color $car.";
  16. ?>
  17.  
  18. <!--using include-->
  19. <!--I have a .-->
  20. <!--using require-->
  21. <!---->
  22.  
  23. </body>
  24. </html>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top