ip address string?
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?
|
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:
<?php |
Add this code to skin/customer/main/checkout.tpl :
Code:
{php} |
Re: ip address string?
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:
|
Re: ip address string?
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:
{php} |
All times are GMT -8. The time now is 02:10 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.