View Single Post
08-15-2007, 10:59 AM
#2
Immersion is offline Immersion
Status: Senior Member
Join date: Dec 2005
Location:
Expertise:
Software:
 
Posts: 918
iTrader: 5 / 100%
 

Immersion is on a distinguished road

  Old

Well its pretty simple really and fairly self explanatory in the function names.

Both are including another file. Include() will try to get the file but if the file is not there or for some reason cant be included the rest of the script will continue.

Where as with require() if trys to include the file and if it cant the rest of the script will not be processed.

Both methods will return an error if the file cannot be included.