View Single Post
  #8  
Old 03-21-2006, 06:45 AM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

Quote:
Originally Posted by anandat
Dear Boomer,
Where exactly to put this code in config.php ?

We need to just put this code & nothing else ? will it display the customer's original IP on chekout ?

Place it towards the bottom of the file, before the WARNING comment.

Add this afterwards to call the IP anywhere:
Code:
$smarty->assign("customers_ip", fetch_remote_address());
And call the variable in any .tpl {$customers_ip}
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote