| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
Include IP Address on submitted contact forms | |||
![]() |
|
||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||||
|
|||||||||
|
Hi All ...
Is it possible to get the the users IP address and include it within the email when they complete the customer contact form (help.php?section=contactus&mode=update) ? Many Thanks Shafiq :sK
__________________
Developing in 4.7.x now (Dipping into v5 - Slowly!) Have used 4.1.x, 4.2.x, 4.4.x, 4.5.x, 4.6.x & 4.7.x Multiple Instances of X-Cart MySQL 5.6.37 CentOS 7.4 Chamber Internet - Lancashire, United Kingdom http://www.chamberelancs.co.uk |
|||||||||
|
#2
|
|||||||||
|
|||||||||
|
Try in signature.tpl or help_contact_us.tpl
{$smarty.server.REMOTE_ADDR} Should give you the IP of the comp sending the form
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
|||||||||
|
#3
|
|||||||||
|
|||||||||
|
Thanks Steve ...
That did the trick
__________________
Developing in 4.7.x now (Dipping into v5 - Slowly!) Have used 4.1.x, 4.2.x, 4.4.x, 4.5.x, 4.6.x & 4.7.x Multiple Instances of X-Cart MySQL 5.6.37 CentOS 7.4 Chamber Internet - Lancashire, United Kingdom http://www.chamberelancs.co.uk |
|||||||||
|
|
|||
|
X-Cart forums © 2001-2020
|
|||