Re: [PHP] Multiple Includes vs. One Long Include (Functions)

2006-08-10 Thread Rasmus Lerdorf
Kevin Murphy wrote: I was just wondering if there was any thought one way or another on the best practice for doing this. Lets say I have 10 functions that I want to reuse on my site. Not every page needs every function. So I move the function to an external page and then require it for the p

Re: [PHP] Multiple Includes vs. One Long Include (Functions)

2006-08-10 Thread Richard Lynch
On Tue, August 8, 2006 3:30 pm, Kevin Murphy wrote: > I was just wondering if there was any thought one way or another on > the best practice for doing this. > > Lets say I have 10 functions that I want to reuse on my site. Not > every page needs every function. So I move the function to an > exter

Re: [PHP] Multiple Includes vs. One Long Include (Functions)

2006-08-08 Thread Robert Cummings
On Tue, 2006-08-08 at 13:30 -0700, Kevin Murphy wrote: > I was just wondering if there was any thought one way or another on > the best practice for doing this. > > Lets say I have 10 functions that I want to reuse on my site. Not > every page needs every function. So I move the function to an

[PHP] Multiple Includes vs. One Long Include (Functions)

2006-08-08 Thread Kevin Murphy
I was just wondering if there was any thought one way or another on the best practice for doing this. Lets say I have 10 functions that I want to reuse on my site. Not every page needs every function. So I move the function to an external page and then require it for the page. The questio