Re: Combining SSI, PHP, and CGI in Apache 2.x

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 ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-15-2005
News Me
 
Posts: n/a
Default Re: Combining SSI, PHP, and CGI in Apache 2.x

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
  #2 (permalink)  
Old 01-15-2005
Sean
 
Posts: n/a
Default Re: Combining SSI, PHP, and CGI in Apache 2.x

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
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 10:10 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0