The Difference Between require() and include()
Did you know that require() and include() work differently? Both are used for including code in another file into your program, but there is a crucial difference in how they operate when that file cannot be read which any PHP programmer needs to know about. There's also a slight difference with require() between new and older versions of PHP which this tutorial discusses too.
- Visit Site:
- The Difference Between require() and include()
- Filed in:
-
PHP / Tutorials & Tips / Miscellaneous
- Platforms:
-




- Databases:
-
- Date Added:
- Jan 4, 2006
- Last Updated:
- Dec 10, 2006
License and Pricing Information
Other
Price: $0.00 USD
| Publisher site visits: | 1,245 |
|---|---|
| Average rating: | 2.00 |
| Total ratings: | 3 |
Publisher Info
- Author:
- Sven Vdhrison
Other listings by this publisher
- Find a visitor's IP Address with ASP
- Your First Java Program
- How to use the QueryString in ASP
- How to Find the Current URL with ASP
- How to write text on a dynamically generated image
- Write text on an existing PNG image in PHP
- Generate a Month Calendar in PHP
- How to use the query string in PHP
- Use PHP on pages without a .php extension
- Find a visitor's IP Address with PHP
- How to Find the Current URL with PHP
- Image rotation with PHP
- Temperature Conversion in Java
- Finding Items in an Array with PHP
