[thelist] SSI if statements not working

{ schaapy } list01 at theparagon.org
Fri Oct 11 09:36:01 CDT 2002


I need a script that can detect which browser is being used and then spit
out the appropriate text.

Right now I have my navigation written in 2 different ways - one way for IE
and another for NN users.

If you go to http://www.hollandsentinel.com/stage/newclassifieds/ you'll see
my problem.


I can't use Perl, PHP, ASP or anything that would really help me do this
task easily.

JavaScript and SSI would be nice - I would like to have something done
server side - that's why I picked SSI.


<!--#if expr="${HTTP_USER_AGENT} = /MSIE/" -->
  <!--#include file="inc/navigation.txt" -->
 <!--#else -->
  <!--#include file="inc/nn4x_navigation.txt" -->
<!--#endif -->



-----------------
Aaron Schaap
www.theparagon.org






More information about the thelist mailing list