VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Customization
 dOES ANY ONE KNOW HOW TO SHOW THE IP ADDRESS
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

BILLCAT
Starting Member

USA
40 Posts

Posted - December 28 2005 :  00:13:43  Show Profile  Visit BILLCAT's Homepage  Reply with Quote
dOES ANY ONE HERE IN THE FORUM KNOW HOW TO SETUP VPASP TO SHOW THE CUSTOMER THEIR IP ADDRESS DURING CHECKOUT. i have seen sites with messages like this.

We take card fraud seriously.
Your IP Address 69.234.27.250 has been logged and will be used to trace you in the event of a fraudulent transaction.


Thanks for your help
Bill

bme
Starting Member

35 Posts

Posted - December 28 2005 :  07:23:15  Show Profile  Reply with Quote
Insert;

<%=Request.ServerVariables("REMOTE_ADDR")%>

into the text where you want it to show.

Bill
Go to Top of Page

searley
VP-ASP New User

169 Posts

Posted - December 28 2005 :  07:24:18  Show Profile  Reply with Quote
Hi this is quite a simmple one to use

simply put:

<%=Request.servervariables("REMOTE_HOST")%> where you want the ip address to aprear.

Go to Top of Page

portion
VP-ASP New User

86 Posts

Posted - December 28 2005 :  08:39:43  Show Profile  Reply with Quote
Both explained.

REMOTE_ADDR
The IP address of the remote host making the request.

REMOTE_HOST
The name of the host making the request. If the server does not have this information, it will set REMOTE_ADDR and leave this empty.
Go to Top of Page

searley
VP-ASP New User

169 Posts

Posted - December 28 2005 :  10:39:50  Show Profile  Reply with Quote
quote:
Originally posted by portion

Both explained.

REMOTE_ADDR
The IP address of the remote host making the request.

REMOTE_HOST
The name of the host making the request. If the server does not have this information, it will set REMOTE_ADDR and leave this empty.



It is unusual for a windows server to do a rDNS lookup when using REMOTE_HOST

I have static ip's at home all with full rDNS and i have only ever seen my ip address when visiting windows based machines

see: http://www.w3schools.com/asp/showasp.asp?filename=demo_server
Go to Top of Page

BILLCAT
Starting Member

USA
40 Posts

Posted - December 28 2005 :  11:10:55  Show Profile  Visit BILLCAT's Homepage  Reply with Quote
Thanks to all that responded


i tried it and workes great. I love this forum.



Edited by - BILLCAT on December 28 2005 11:17:06
Go to Top of Page

BILLCAT
Starting Member

USA
40 Posts

Posted - December 28 2005 :  11:50:35  Show Profile  Visit BILLCAT's Homepage  Reply with Quote
Ok I thought I could do this but not. I got it to work from a test page. But, when i try to add <%=Request.ServerVariables("REMOTE_ADDR")%> to the checkout page it just errors out the page. How do I actually wrote the code into the paypalshopcheckout.asp page. That is the page name that displays when the client is prompted for payment.
This is what I need to have appear

We take card fraud seriously.
Your IP Address 69.234.27.250 has been logged and will be used to trace you in the event of a fraudulent transaction
.

Thanks again
Bill
Go to Top of Page

searley
VP-ASP New User

169 Posts

Posted - December 28 2005 :  12:03:45  Show Profile  Reply with Quote
quote:
Originally posted by BILLCAT

Ok I thought I could do this but not. I got it to work from a test page. But, when i try to add <%=Request.ServerVariables("REMOTE_ADDR")%> to the checkout page it just errors out the page. How do I actually wrote the code into the paypalshopcheckout.asp page. That is the page name that displays when the client is prompted for payment.
This is what I need to have appear

We take card fraud seriously.
Your IP Address 69.234.27.250 has been logged and will be used to trace you in the event of a fraudulent transaction
.

Thanks again
Bill



it could be that you are putting it in a section of the page that is already asp code??

eg with the

<%
%>

where are you putting it??

if you are puuting is within the <% %> you can try something like

%>
You ip address <%=Request.servervariables("REMOTE_HOST")%> Is recorded
<%




Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000