How do I retrieve a mobile phone id

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Johnny BeGood

    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_AGEN T"];
    ?>
    The info from your mobile is <?php echo($user_agen t ); ?>

    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

  • rf

    #2
    Re: How do I retrieve a mobile phone id

    "Johnny BeGood" <jbg@jbg.netwro te in message
    news:GHDYh.1924 1$j7.373033@new s.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.


    Comment

    • Johnny BeGood

      #3
      Re: How do I retrieve a mobile phone id

      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.com wrote in message
      news:63HYh.3084 8$M.12959@news-server.bigpond. net.au...
      "Johnny BeGood" <jbg@jbg.netwro te in message
      news:GHDYh.1924 1$j7.373033@new s.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.
      >

      Comment

      • Johnny BeGood

        #4
        Re: How do I retrieve a mobile phone id

        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" <vilain@spamcop .netwrote in message
        news:vilain-FB92CB.06594928 042007@comcast. dca.giganews.co m...
        In article <63HYh.30848$M. 12959@news-server.bigpond. net.au>,
        "rf" <rf@invalid.com wrote:
        >
        >"Johnny BeGood" <jbg@jbg.netwro te in message
        >news:GHDYh.192 41$j7.373033@ne ws.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...
        >
        >
        >

        Comment

        • Rami Elomaa

          #5
          Re: How do I retrieve a mobile phone id

          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(getallh eaders()); ?If the phone number was
          there, please let me know...

          --
          Rami.Elomaa@gma il.com

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

          Comment

          • Johnny BeGood

            #6
            Re: How do I retrieve a mobile phone id

            Thanks for all your help, guys!

            Mark


            "Rami Elomaa" <rami.elomaa@gm ail.comwrote in message
            news:f10agn$ion $1@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(getallh eaders()); ?If the phone number was there, please
            let me know...
            >
            --
            Rami.Elomaa@gma il.com
            >
            "Wikipedia on vähän niinq internetin raamattu, kukaan ei pohjimmiltaan
            usko siihen ja kukaan ei tiedä mikä pitää paikkansa." -- z00ze

            Comment

            Working...