Including/Exclude PHP require() and include() files
I haven't been able to find any references in the documentation (or the config pages) or forum posts for excluding or including php include() or require() files in the indexing process. I want to INCLUDE a require()/include() file, but it always seems to be excluded. Can you help? I'm using V5.1 Pro.
If you are indexing in Zoom in spider mode, and you are indexing a PHP page, and that PHP page makes use of an include() function to include additional code, then the entire PHP code will be executed on the server and the entire page output indexed by Zoom.
In short you don't need set of configure anything as the default behaviour does what you want.
See this FAQ,
Also check you have this check box checked in the "Spirder options",
From the help file,