Back to TF Net
From:
Kenneth Kump <Kenneth_Kump@spid
To:
all
Subject:
SPML #if Commands
Date:
Sat, January 30, 1999 08:52 PM
<!-- #if DIRNAME is "" -->
<center><P><FONT COLOR="RED" SIZE="+3"><B>
Welcome <!-- #echo USER_NAME --> to the <!-- #echo DIRNAME --> Forum
</B></FONT></P></center>
<!-- #else -->
<P>
No directory name...<!-- #echo LOCATION -->
</P>
<!-- #endif -->
====================
OR..... if DIRNAME actually does contain /folder abc/folder cde/garbage folder/
and you use....
<!-- #if DIRNAME contains "garbage" -->
<center><P><FONT COLOR="RED" SIZE="+3"><B>
Welcome <!-- #echo USER_NAME --> to the <!-- #echo DIRNAME --> Forum
</B></FONT></P></center>
<!-- #else -->
<P>
No directory name...<!-- #echo LOCATION -->
</P>
<!-- #endif -->
BEHAVES exactly the same as:
<!-- #if DIRNAME -->
<center><P><FONT COLOR="RED" SIZE="+3"><B>
Welcome <!-- #echo USER_NAME --> to the <!-- #echo DIRNAME --> Forum
</B></FONT></P></center>
<!-- #else -->
<P>
No directory name...<!-- #echo LOCATION -->
</P>
<!-- #endif -->
138
Running TeleFinder Server v5.7.
© Copyright Spider Island Software