I was wondering... does anyone know how deep php can go when doing includes?
For example, let's say I'm building a webpage and at the top of the page I include some script for displaying the top of the page. I might do this by entering something like
include("topofpage.php");
...now on the top of page.php I might want to execute a script that draws a banner. So I might add a line of script that says
include("displaybanner.php");
...but on the display banner script, I might want to include yet another script that does some calculation or another to rotate banners. So, once again I may call on an include statement like,
include("bannerrotation.php");
....and so on.
So, basically in order to display this webpage my PHP script would need to go 3 include levels deep. So, to clarify my question, I'm just asking if anyone knows of any limit to the amount of levels you can go to when using includes. I'm sure there must be some point when the scripts slow down or grind to a halt.