Thread: PHP Question
View Single Post
Old 05-16-07, 10:44 AM   #8
Registered User
Join Date: Jul 2005
Posts: 3,606
Default Re: PHP Question

Originally Posted by supra
dont think it matters too much unless that file is referenced more then once in the script
Exactly, IMHO it would be poor coding to include the function more than once. I could see a use for require_once() in a conditional but in this case I would assume require() would be more fitting with the file inclusion occurring at the "top" of the code outside of any conditional.
evilghost is offline   Reply With Quote