Hi all !
I've encountered a strange Problem with some require tags :
im calling an inclusion file with the following command :
require ("http://www.myurl.com/inc/test.inc");
now it takes about 3 Seconds for the page to finish up.
So I've put in some time information (start of script, start of calling the required inclusion file, end of inclusion time etc.
The output was like the following :
04 Start of script
04 Calling the inc file
07 Start of inc file
07 middle of inc file
07 end of inc file
No i changed the require to the following :
require ("inc/test.inc");
with this changes the page finished up immediately :
04 Start of script
04 Calling the inc file
04 Start of inc file
04 middle of inc file
05 end of inc file
The Problem is, that i have to put in the complete url, cause the file which uses the inclusion file is itself an inclusion file and is accessed from different directories.
So, what can be the reason for this effekt - and is there a workaround ?
Note : I've used the script on the same server before with no delay. I needed to mess around a bit with the directory and file attributes. After that the problem appeared. Im not sure if this could might has something to do with the problem - just to be sure :-)
Thanks in advance
Hotkey