| ||||||
| 5/18 |
| 2006/1/21-24 [Computer/SW/Languages/C_Cplusplus] UID:41475 Activity:nil |
1/21 I'm trying to use Apache SSIs to do something like:
<!--#ifndef expr="$title" -->
<!--#set var="title" val="Default Title" -->
<!--#endif -->
But there's no #ifdef or #ifndef and #if doesn't like to parse
undefined variables. Is there any way to do this sort of thing?
\_ Well, you could try <!--#if var="title" val="" -->. But it
sounds like you're getting into PHP territory. -tom |