FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Including PHP scripts on same server
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Including PHP scripts on same server [message #171746 is a reply to message #171745] Thu, 20 January 2011 07:07 Go to previous messageGo to previous message
Michael Fesser is currently offline  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
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ElephantMark - a new simple tool for PHP documentation
Next Topic: hack
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 09:29:45 GMT 2024

Total time taken to generate the page: 0.03695 seconds