| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
ip address string? | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Can anyone tell me how to display the ip address string easily. I want to show this during checkout to discourage fraud.. is there a way to log the ip in checkout notes?
|
|||||||
#2
|
|||||||
|
|||||||
![]() Here is the code I use on my PHP pages but I don't know how to put this on checkout pages. I know it's not very difficult may be some X-cart guru
can help here. Code:
__________________
X-Cart: 4.7.7 LIVE Skin:Ultra by xcartmods.co.uk X-cart Modules: | ACR, Rich Google Search, Customer Testimonials | Cloud Search, | Websitecm: CDSEO (2.1.9) --------------- Server: Linux php: 5.3 mysql: 5.0.89 ---------------- |
|||||||
#3
|
|||||||||
|
|||||||||
![]() Add this code to skin/customer/main/checkout.tpl :
Code:
|
|||||||||
#4
|
|||||||||
|
|||||||||
![]() I added the following code to the page. The IP address is not on the page.
Is there something I need to add to the server to make it on the page. Any ideas? Justin Quote:
__________________
X-Cart Gold v4.4.4 Apache v2.2.20 PHP v5.3.8 MySQL v5.1.56-log Linux kernel v2.6.18-238.19.1.el5xen |
|||||||||
#5
|
|||||||||
|
|||||||||
![]() Disregard above message. My server will not accept the above code, (getenv).
For all with the ip address not showing up - The following code will work: Code:
__________________
X-Cart Gold v4.4.4 Apache v2.2.20 PHP v5.3.8 MySQL v5.1.56-log Linux kernel v2.6.18-238.19.1.el5xen |
|||||||||
|
|||
X-Cart forums © 2001-2020
|