Getting the IP address of the handset Search Search

Now SMS/MMS Gateway » Now.WAP Proxy (Product Support Only) » Getting the IP address of the handset « Previous Next »

Author Message
Davor Spasoski
New member
Username: Dspasoski

Post Number: 1
Registered: 04-2007
Posted on Wednesday, April 18, 2007 - 02:38 pm:   

Hi,

I'm evaluating Now Wap and I have a problem with the detection of the IP address of the handset visiting the page. I tried $_SERVER['REMOTE_ADDR'] header but I only get the IP address of Now Wap server. Any ideas?
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 7126
Registered: 10-2002
Posted on Thursday, April 19, 2007 - 01:53 pm:   

Hi,

Because NowWAP is acting as a proxy, your application server will see the source IP as being that of the proxy. The application server needs to reply back to the proxy which will then relay the response to the client.

If you need to know the source IP of the original client, NowWAP inserts an HTTP header with this information: X-WAP-Client-IP:

Add Your Message Here
Post:
Bold text Italics Underline Create a hyperlink Insert a clipart image

Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Click here to register with this discussion board.
Password:
Options: Automatically activate URLs in message
Action:

Search Search Tree View Tree View   Home Home
Login Login / Register Topics Topics Search Last 1|3|7 Days   Previous Page Previous Next Next Page

© Copyright 2002-2007 by Now Wireless Limited
Airport House, Purley Way, Croydon, London, CR0 0XZ, UK
UK Tel: +44-20-8286-8080 US Tel: +1.410.833.8711
email : nowsms@now.co.uk