I have the majority of my files in the root directory of the website with a include directory for any file includes needed.
This works fine using:
However I also have another directory that contains files that also need these include files. I would have thought the following would work:Code:include('include/file.php');
But I get a Fatal error: Maximum execution time of 30 seconds exceeded in C:\home\****\include\file.php on line 10.Code:include('../include/file.php');
On line 10 is the following code which works fine apart from when this include file is called in anything other than the root directory.
Help appreciated.Code:Line 10: session_register("s_custid");
DJ




Reply With Quote