Another aborted php session / new mod_include hack

Tried to get the menu in php again – gave up. Rewrote mod_include.c to sort things out.

My custom mod_include.c now allows for delayed variable expansion within an SSI variable. This basically means that it behaves a little like a #define clause in C, and allows simple macros to be built up – useful for large blocks of text that have a small change right in the middle of it. Without the delayed expansion this would need to be defined as two separate variables and printed out with two <!--#echo commands with the changed text inbetween. Now, one call to the #macro command will take care of everything ! Once the documentation is finished then I’ll see about getting it submitted to Apache properly.

Comments are Disabled