Hi, can anybody tell me the PHP way of performing this SSI?
<!--#if expr"${HTTP_REFERER} =/phpbuilder/" -->
Return to <A HREF="<!--#echo var="HTTP_REFERER"-->">previous page</A>
<!--#else-->
Return to <A HREF="http://www.phpbuilder.com/">front
page</A>
<!--#endif-->
So basically the code is checking to see whether the URL is in the
HTTP_REFERER. If so, give the reader a link that takes them back to
the refering page, otherwise (assuming they came from off site) take
them to the homepage!
Thanks for any help!
Nick