View Single Post
  #3  
Old 11-26-2007, 06:01 AM
 
gkeraunen gkeraunen is offline
 

Advanced Member
  
Join Date: Jan 2004
Posts: 37
 

Default Re: Seeing $_SERVER variables in home.php

Quote:
Originally Posted by Ene
Try the $HTTP_SERVER_VARS variable.

Thanks Ene, but it didn't work. I tried

print $HTTP_SERVER_VARS["REMOTE_ADDR"];
print $HTTP_SERVER_VARS["HTTP_REFERER"];
print $HTTP_SERVER_VARS["HTTP_USER_AGENT"];
print "hello again\n<br>";


and still got... "hello again"

Is X-cart doing something strange here?
__________________
X-Cart 4.1.9
PHP 4.4.1
MySQL 4.0.27
Linux
Apache
Reply With Quote