View Single Post
  #1  
Old 11-25-2007, 08:34 PM
 
gkeraunen gkeraunen is offline
 

Advanced Member
  
Join Date: Jan 2004
Posts: 37
 

Default Seeing $_SERVER variables in home.php

I successfully include the following in via home.tpl in home.php:

print $_SERVER['REFERER'];
print $_SERVER['REQUEST_URI'];
print $_SERVER['REMOTE_ADDR'];
print "hello!!\n<br>";

But this only prints "hello!!" and does not print the $_SERVER variables.

This is in 4.0.13, but I think it applies to all versions?
Can you point me in the right direction?

Thanks,

-Michael
__________________
X-Cart 4.1.9
PHP 4.4.1
MySQL 4.0.27
Linux
Apache
Reply With Quote