SunQuest
           WAP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreWAP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old September 10th, 2003, 06:38 PM
Teh_Kliqster Teh_Kliqster is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 18 Teh_Kliqster User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
How to get user info

Hey,

I own a wapsite (as you may have guessed) and I want to have a page where I display device info to the user. I know how to get the gateway IP and browser, but does anyone know how to get the sim card's unique ID (i.e. MMS-00000000_vcs-fmagdisp000.london.02.net) and the user's unique IP?

Thanks

Reply With Quote
  #2  
Old September 19th, 2003, 08:27 PM
Sevenger Sevenger is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 4 Sevenger User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
The ip u can get with this php file:
PHP Code:
<?php 
header
("Content-Type: text/vnd.wap.wml"); 
echo 
"<?xml version=\"1.0\"?>"
echo 
"<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\" 
\"http://www.wapforum.org/DTD/wml_1.1.xml\">"


echo 
"<wml>"
$ups=getenv("REMOTE_ADDR"); 
echo 
"<card id=\"start\" title=\"IP\"><p>Ihre IP-Adresse:$ups</p></card>"
echo 
"</wml>"
?>


so long
Sevenger

Reply With Quote
  #3  
Old December 21st, 2003, 02:58 AM
ashgallery ashgallery is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 1 ashgallery User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Try using this, this is the closest I have got to getting user ID:

$subno = getenv('HTTP_X_UP_SUBNO'); // most operators send something.

echo"$subno"; // print it etc

Shame we cant get a telephone number though.

Goodluck

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreWAP Programming > How to get user info


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway