Wednesday, 28 May 2014

Testing for variables in HTML on apache2


Note to self! You can use the expr to check for server variables, for example check for php...
<!--#if expr="$SERVER_SOFTWARE = /PHP/"-->
<!--#set var="usePHPincluds" value="true" -->
<!--#endif-->


 

Note: the opinions on this page don't represent that of my employer in anyway. And, actually only vaguely represent my opinions on the date of publication. (Unlike Ms T, I am very much for turning)