More Detailed Browser Id

Started on the old forum in July 2007 · view the original in the archive · old links redirect here

57 replies · 3,606 views · started 19 years ago · 1 min read

TL;DR · summary of 57 replies
  • alesh is asking how to make the browser ID more detailed, showing Opera Mini and other specific versions instead of just "Opera".
  • futurewap asks if alesh means changing code to show phone details.
  • blackhowk suggests looking at code that shows browser information like Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.13) Gecko/20060414.
  • The thread does not provide a specific solution or fix for making the browser ID more detailed, it suggests looking at existing code that shows browser information.

Written automatically from the replies by a language model on our own server. It can be wrong; the posts below are the source.

8 participants
Guest #41

o k a y

Sorry for the delay 2 reply,frnd few month ago, im visit a site through mobilehttp://downloads4u.ne1.net (now not working) ,in his site, i saw a page like phoneinfo.php,that page show me my phone numer , so i asking this question frends,

FlareX #42

hmmmmmmm i still dont get how to get ur number from the ip couse everytime i try to get sum1 number of ip i get the users isp's numbers

GumSlone Administrator Principal · 1,690 posts #43

Here is a code which should get the phone number:

<?php  if(isset($_SERVER['HTTP_X_UP_CALLING_LINE_ID']))
    {
      //Mostly this Server Vars Attribute all mobile phones
      $hpnum = trim($_SERVER['HTTP_X_UP_CALLING_LINE_ID']);
    }
    else if(isset($_SERVER['HTTP_X_HTS_CLID']))
    {
      //Mostly this Server Vars Attribute is for Nokia and SonyEricsson
      $hpnum = trim($_SERVER['HTTP_X_HTS_CLID']);
    }
    else if(isset($_SERVER['HTTP_MSISDN']))
    {
      //Mostly this Server Vars Attribute is for Motorola and Siemens
     $hpnum = trim($_SERVER['HTTP_MSISDN']);
    }
    echo  'Your phone number is: '.$hpnum;

  ?>

its not working for me, so..........

Advertise your mobile site for FREE with AdTwirl

External image (may be gone)

FlareX #44

YaY Phone Number Script

FlareX #46

Awh No Phone Number

FlareX #48

post back if it works

metulj Super moderator Principal · 1,726 posts #49

Here is a code which should get the phone number:

<?php  if(isset($_SERVER['HTTP_X_UP_CALLING_LINE_ID']))
    {
      //Mostly this Server Vars Attribute all mobile phones
      $hpnum = trim($_SERVER['HTTP_X_UP_CALLING_LINE_ID']);
    }
    else if(isset($_SERVER['HTTP_X_HTS_CLID']))
    {
      //Mostly this Server Vars Attribute is for Nokia and SonyEricsson
      $hpnum = trim($_SERVER['HTTP_X_HTS_CLID']);
    }
    else if(isset($_SERVER['HTTP_MSISDN']))
    {
      //Mostly this Server Vars Attribute is for Motorola and Siemens
     $hpnum = trim($_SERVER['HTTP_MSISDN']);
    }
    echo  'Your phone number is: '.$hpnum;

  ?>

its not working for me, so..........

interesting External image (may be gone)

but i actually never thought on this it would be much more interesting for me to get their IMEI numbers... is that possible??

It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.

キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

linkrx7 #50

some networks u can get the sim id but hardly any networks send that data anymore

amylee Principal · 1,092 posts #51

it maybe possible to get an imei with javascript i think but then again some or most phones dont support javascript

alesh Lead · 604 posts #52

hmmmmm i didnt start a topic 2 get sum1 else phn number...... grrrrrrr

maybe im old fashion but in my days i ASKED A GRL 4 HER PHN NUMBER LMFAO!!!!!!! THERES NO SHAME IN THT LOL

anyway MY PROBLEM NOW..............

WHEN USER REGISTER A NEW ACCOUNT HIS BROWSER IS SHOWN AS Nokia6610/1.0 and WHEN I VALIDATE HIM AND THE USER COMES AT SITE, HIS BROWSER IS SHOWN AS Nokia6610........

why??

i found at login.php code $brws = $_SERVER['HTTP_USER_AGENT']; nd tht why it shows browser as i want but when tht user comes a site then it shows just a short version........ i searched at index.php and i found $browser = explode ('/', $HTTP_USER_AGENT); ........... thts not it right???? but i cnt find $brws = $_SERVER..... anywhr else.......

so any1 wanna help pls.....!!!!!! where else i cn change it so browser is more detailed???????

eeeeerrr....

GumSlone Administrator Principal · 1,690 posts #53

You can also try this function:

$headers = apache_request_headers();
foreach ($headers as $header => $value) {
    echo "[b]$header:[/b] $value 
\n";
}

Advertise your mobile site for FREE with AdTwirl

External image (may be gone)

alesh Lead · 604 posts #54

You can also try this function:

$headers = apache_request_headers();
foreach ($headers as $header => $value) {
    echo "$header: $value 
\n";
}

but tht i cnt put in my lava script or can i?

eeeeerrr....

alesh Lead · 604 posts #56

you can put it everywhere you want to External image (may be gone)

lol yes i found out lololol

also i found tht code in core.php and its identical!!!!! but still it shows me just a OPERA 4 every opera (9.2, mini mod etc)

eeeeerrr....

linkrx7 #57

i made my script show opera mini as opera mini instead of just opera makes things lot beta when u no whats what

alesh Lead · 604 posts #58

i made my script show opera mini as opera mini instead of just opera makes things lot beta when u no whats what

CN U HELP ME WITH THT????

i still get only opera when user login at site, but b4 the user is validated it shows opera9.22!!!!!!!!!!

dnt knw where 2 change it....

eeeeerrr....

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close