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.
|