Esato

Forum > Sony Ericsson / Sony > General > Wap device identifycation

Author Wap device identifycation
mikaalto
T68 gold
Joined: Dec 08, 2001
Posts: 149
From: Finland
PM
Posted: 2002-03-09 18:08
Reply with quoteEdit/Delete This PostPrint this post
How does the forum know that from what phone is the message sended from? Well it is propably just a piece of code but could you share it laffen?

Or does somebody else have good tips?
laffen
Sony Xperia Z5 Compact
Joined: Aug 07, 2001
Posts: > 500
From: Oslo, Norway
PM
Posted: 2002-03-09 22:23
Reply with quoteEdit/Delete This PostPrint this post

if($HTTP_USER_AGENT =~ /EricssonT68/){
print "This is a Ericsson T68";
}
mikaalto
T68 gold
Joined: Dec 08, 2001
Posts: 149
From: Finland
PM
Posted: 2002-03-09 22:33
Reply with quoteEdit/Delete This PostPrint this post
So it grabs the information from the phone or the phone tells it?

Can any other data can be taken up with those methods?
laffen
Sony Xperia Z5 Compact
Joined: Aug 07, 2001
Posts: > 500
From: Oslo, Norway
PM
Posted: 2002-03-09 23:35
Reply with quoteEdit/Delete This PostPrint this post
Like Netscape and IE, all phones provides some "hidden" data when it sends a request for a page.

- User agent: EricssonT68/R101, EricssonT39/R202, SonyEricssonT68 (probably the T68i)
- IP address to the WAP-gateway you are connecting through: wap11.vodafone.net, radius.one2one.net, wsb.eplus-online.de
- Menu language in use on the phone
- Referrer: Page where you came from
- MIME-type accepted by the phone: text/vnd.wap.wml (WAP pages), text/x-vmel (Ericsson ring tones)

See the second post to the Esato forum for more.. http://esato.com/board/viewtopic.php?topic=8&forum=2
Uncleben
T65 blue
Joined: Dec 05, 2001
Posts: 55
From: Manchester UK
PM, WWW
Posted: 2002-03-10 00:00
Reply with quoteEdit/Delete This PostPrint this post
Laffen i asked you exactly the same question in an private message. Why should he get a reply but not me?

This post was posted from a T65

laffen
Sony Xperia Z5 Compact
Joined: Aug 07, 2001
Posts: > 500
From: Oslo, Norway
PM
Posted: 2002-03-10 03:32
Reply with quoteEdit/Delete This PostPrint this post
Have you asked me this before. When?
twilight
W810 black
Joined: Dec 29, 2001
Posts: 205
PM
Posted: 2002-03-10 14:02
Reply with quoteEdit/Delete This PostPrint this post
You can't get the referrer info on wap laffen.Sony EricssonT68 is not T68i also.






--------------------------------------------
Please visit these mobile web sites.


Twilight Zone (twilightwap.com)


DownloadWAP (downloadwap.com)


WAP Groups(wapgroups.com)


PRODIGITS(prodigits.co.uk)


Surfwap(surfwap.com)


WAPelite(wapelite.com)


WAPmeter(wapmeter.com)


[ This Message was edited by: twilight on 2008-09-13 00:17 ]
Access the forum with a mobile phone via esato.mobi