473,385 Members | 1,312 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

How do I retrieve a mobile phone id

Hi All,

Has anyone got any ideas on how to retrieve mobile phone info from a phone
that connects to my web site, I want to use that data as part of logon
authentication, for example:

<?php
$user_agent = $_SERVER["HTTP_USER_AGENT"];
?>
The info from your mobile is <?php echo($user_agent ); ?>

will give me info such as

Nokia 6060/2.0(5.11)
Profile/MDP-2.0
Configuration/CLDC-1.1

I would like to retrieve the phone number of the phone and any other id data
thats available.

Any ideas?

Any suggestions are gratefuly recieved!

Mark

Apr 28 '07 #1
5 3485
rf
"Johnny BeGood" <jb*@jbg.netwrote in message
news:GH*******************@news.indigo.ie...
Hi All,

Has anyone got any ideas on how to retrieve mobile phone info from a phone
that connects to my web site, I want to use that data as part of logon
authentication, for example:
<snip>
I would like to retrieve the phone number of the phone and any other id
data thats available.
You are kidding, right?

Would you also like the phone owners name and address, perhaps their bank
account details?
Any ideas?
Think about *privacy*.

Richard.
Apr 28 '07 #2
Hi Richard,

Perhaps I should explain, the user of the site, who will be the owner of the
phone will have volunteered that data in the first place, I just want to be
able to check that it is that actual phone that is logging on, this data is
available throught HTTP Headers from the phone. I do agree with you on the
privacy issue.

Thanks anyway

Mark

"rf" <rf@invalid.comwrote in message
news:63*****************@news-server.bigpond.net.au...
"Johnny BeGood" <jb*@jbg.netwrote in message
news:GH*******************@news.indigo.ie...
>Hi All,

Has anyone got any ideas on how to retrieve mobile phone info from a
phone that connects to my web site, I want to use that data as part of
logon authentication, for example:

<snip>
>I would like to retrieve the phone number of the phone and any other id
data thats available.

You are kidding, right?

Would you also like the phone owners name and address, perhaps their bank
account details?
>Any ideas?

Think about *privacy*.

Richard.
Apr 28 '07 #3
Hi Michael,

Perhaps I should explain, the user of the site, who will be the owner of the
phone will have volunteered that data in the first place, I just want to be
able to check that it is that actual phone that is logging on, this data is
available throught HTTP Headers from the phone. I do agree with you on the
privacy issue.

Thanks anyway

Mark

"Michael Vilain" <vi****@spamcop.netwrote in message
news:vi**************************@comcast.dca.giga news.com...
In article <63*****************@news-server.bigpond.net.au>,
"rf" <rf@invalid.comwrote:
>"Johnny BeGood" <jb*@jbg.netwrote in message
news:GH*******************@news.indigo.ie...
Hi All,

Has anyone got any ideas on how to retrieve mobile phone info from a
phone
that connects to my web site, I want to use that data as part of logon
authentication, for example:

<snip>
I would like to retrieve the phone number of the phone and any other id
data thats available.

You are kidding, right?

Would you also like the phone owners name and address, perhaps their bank
account details?
Any ideas?

Think about *privacy*.

Richard.

OK to be more explicit. Bottom line: you don't. Unless the phone's
browser gives you the number, you're SOL. Figure out some other way.

--
DeeDee, don't press that button! DeeDee! NO! Dee...
Apr 28 '07 #4
Johnny BeGood kirjoitti:
Hi Michael,

Perhaps I should explain, the user of the site, who will be the owner of
the phone will have volunteered that data in the first place, I just
want to be able to check that it is that actual phone that is logging
on,
There are alternative, better ways for authorizing the user.
this data is available throught HTTP Headers from the phone.
No, it isn't. And even if it were, do you realize how easy it is to open
pages with php and write custom headers. Say I want to hack in your
system. Fine, I'll just open a socket with fsockopen, write the headers,
insert your phone number in the headers and chi-ching, you're pwend.
Secure? I don't think so, Tim.
I do agree with you on the privacy issue.
Then you'll understand why it isn't in the headers. What makes you think
it would be?

If you don't believe me, just echo the entire header to see for
yourself. <?php print_r(getallheaders()); ?If the phone number was
there, please let me know...

--
Ra*********@gmail.com

"Wikipedia on vähän niinq internetin raamattu, kukaan ei pohjimmiltaan
usko siihen ja kukaan ei tiedä mikä pitää paikkansa." -- z00ze
Apr 28 '07 #5
Thanks for all your help, guys!

Mark
"Rami Elomaa" <ra*********@gmail.comwrote in message
news:f1**********@nyytiset.pp.htv.fi...
Johnny BeGood kirjoitti:
>Hi Michael,

Perhaps I should explain, the user of the site, who will be the owner of
the phone will have volunteered that data in the first place, I just want
to be able to check that it is that actual phone that is logging on,

There are alternative, better ways for authorizing the user.
>this data is available throught HTTP Headers from the phone.

No, it isn't. And even if it were, do you realize how easy it is to open
pages with php and write custom headers. Say I want to hack in your
system. Fine, I'll just open a socket with fsockopen, write the headers,
insert your phone number in the headers and chi-ching, you're pwend.
Secure? I don't think so, Tim.
>I do agree with you on the privacy issue.

Then you'll understand why it isn't in the headers. What makes you think
it would be?

If you don't believe me, just echo the entire header to see for yourself.
<?php print_r(getallheaders()); ?If the phone number was there, please
let me know...

--
Ra*********@gmail.com

"Wikipedia on vähän niinq internetin raamattu, kukaan ei pohjimmiltaan
usko siihen ja kukaan ei tiedä mikä pitää paikkansa." -- z00ze
Apr 28 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Mario | last post by:
Hello, Excuse me if I am not so clear on what I a looking for, but its getting very hard to find any software,application or information that will let me access or get a frame(still image) from...
1
by: Jose Gonzalez | last post by:
How to apply a numeric format to a textbox using xhtml? I know you have to use the "-wap-input-format" style tag in css. I can get this to work in a regular xhtml page, however, I've been...
3
by: perspolis | last post by:
Hi all thanks in advance to read my post. I created a TAPI application and in this application I monitor the digits that user enter by phone.. it works well when I call from a phone but it...
3
by: Sara | last post by:
HI, I want to code a program to detect GSM mobile (any kind) which connected through serial port to computer and then be able to send SMS through this mobile phone to other mobile phones, could...
4
by: Sara | last post by:
Hi I want to code a program which could send SMS through web page to mobile phone, but because there is no Service here such as SMPP , therefore I have GSM mobile phone which connected directly to...
0
by: James Nong | last post by:
I built an ASP.NET mobile web application last year for fun and hosted it on my home server. I was successful in accessing it with my Sprint phone, which uses the "Obigo 1.1.4 WAP 2.0" browser. ...
852
by: Mark Tarver | last post by:
How do you compare Python to Lisp? What specific advantages do you think that one has over the other? Note I'm not a Python person and I have no axes to grind here. This is just a question for...
1
by: Vangati | last post by:
Plusmo is Hiring! Plusmo's mission is to provide the ultimate mobile experience for users by bringing together advanced technologies and easy to use services for mobile phones. Plusmo's...
7
by: cj2 | last post by:
I saw a MS demo a few years back where they developed a web page and the software automatically rendered it for different devices. Is this what I'm looking for? http://www.asp.net/mobile/ ...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.