[PHP] require v. includes

2002-03-07 Thread Joshua E Minnie
I was just wondering if anyone could tell me when would be the time to choose require(), require_once(), or include(). I know a little bit about using each one, but I am just not sure if there is one that is better than the other in certain situations. -- Joshua E Minnie CIO [EMAIL PROTECTED]

Re: [PHP] require v. includes

2002-03-07 Thread Andrey Hristov
require includes code only once(on the parse), include includes code everytime it is called. if you have some libs and in two or more you do require or include of some core lib you have to use require_once or to define some constant and use it to check. I am sure when but require changed its