View Single Post
  #4  
Old 12-30-2005, 07:03 PM
JonM is offline JonM
Registered User

Join Date: Jun 2004
Posts: 2,156

You use require when requiring files that are for sure needed for the script to work. For instance if you have a file like header.php which connects, sets variables, etc...if it doesn't work you need a fatal error. It could be dangerous to just include it. (i think). Include as mike said just gives a warning and continues on. so include files such as count.php which would count the hits of the site...that's it.
Reply With Quote