Re: Seeing $_SERVER variables in home.php
Declaring it global did the trick (in both cases). Thank you Ralph!
It seems that by the time my code snippet is loaded (via home.tpl) the referrer is always my own domain. I'm trying to capture the 'original' referrer (search engine, affiliate, etc) on the first entry page entry and, ideally, make it available as a session variable throughout the system. Any tricks that you know of to achieve this?
-Michael
__________________
X-Cart 4.1.9
PHP 4.4.1
MySQL 4.0.27
Linux
Apache
|