This is a discussion on Re: Combining SSI, PHP, and CGI in Apache 2.x within the Apache Web Server forums, part of the Web Server and Related Forums category; Sean wrote: [snip] > SSI. Even better, an included file can call include() so you have > recursion which did ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Sean wrote:
[snip] > SSI. Even better, an included file can call include() so you have > recursion which did not work in SSI the last time I checked. An included file being able to include another file is not an example of recursion, it is an example of nesting. Recursion is the capability of a function to call itself. A file including itself is recursive only in a very general sense and it would not produce a meaningful outcome. NM -- convert uppercase WORDS to single keystrokes to reply |
|
|||
|
On Fri, 14 Jan 2005 18:06:14 -0800, News Me <newsTWOme@pacifierDOTcom>
reverently intoned upon the aether: > Sean wrote: > [snip] > > SSI. Even better, an included file can call include() so you have > > recursion which did not work in SSI the last time I checked. > > An included file being able to include another file is not an example of > recursion, it is an example of nesting. Recursion is the capability of > a function to call itself. A file including itself is recursive only in > a very general sense and it would not produce a meaningful outcome. > > NM Actually the recursion I was alluding to is the ability to include from an included file. This is recursion of the include functionality. It is more of a meta concept than functional recursion, but it is still recursion. And in truth one gets functional recursion here too, as include() will end up including and calling include() if there is an include() statement in the included file. enjoy, Sean "In the End, we will remember not the words of our enemies, but the silence of our friends." - Martin Luther King Jr. (1929-1968) Photo Archive @ http://www.tearnet.com/Sean Last Updated 29 Sept. 2004 |