[thelist] Force same PHP include several times on a page
nan at nanharbison.com
Fri Apr 25 11:35:25 CDT 2008
Are you using require_once()?
From: thelist-bounces at lists.evolt.org
[mailto:thelist-bounces at lists.evolt.org] On Behalf Of Stefan Schwarzer
Sent: Friday, April 25, 2008 6:40 AM
To: thelist at lists.evolt.org
Subject: [thelist] Force same PHP include several times on a page
it seems PHP5 is handling a file include differently than PHP4. I just
migrated, and in one of my apps, I have an include for a specific PHP file
(which loads a couple of complex SQL query builds) several times on the same
page. I guess it's not very efficient; instead it would be wiser to build a
function instead. But.... don't want to touch the code for the moment.
Now, with PHP4, it loads the include only once. But ignores the other
Anything I can do about?
Thanks for any hints!
Lean Back and Relax - Enjoy some Nature Photography
Appetite for Global Data? UNEP GEO Data Portal:
* * Please support the community that supports you. * *
For unsubscribe and other options, including the Tip Harvester and archives
of thelist go to: http://lists.evolt.org Workers of the Web, evolt !
More information about the thelist