You are right, HTTP_REFERER is not set, but instead you can use DOCUMENT_URI.
Ciao, Valerio
In reply to Re: SSI pain... by valdez in thread SSI pain... by Anonymous Monk