Re: Including PHP scripts on same server [message #171746 is a reply to message #171745] |
Thu, 20 January 2011 07:07 |
Michael Fesser
Messages: 215 Registered: September 2010
Karma:
|
Senior Member |
|
|
.oO(jwcarlton)
> I currently have several functions scripted on one page. If I move
> these to several different PHP files and then include them on the
> original page, will this be any slower (or cause more of a server
> load) than having them coded directly on the page?
Most likely you won't notice any difference. If you should really
encounter performance problems, use a profiler to check your code.
> For me, this would only be a convenience; I have a particularly
> complex file with large sections, and it would be easier for me to be
> able to update sections without working on the entire file at once.
Then just do it.
Micha
|
|
|