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:
LinuxMicrosoft WindowsUnixApple Mac OS XSun Solaris 
Databases:
No Database 
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

Be the first to review this listing!

Share this Listing