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,
Started on the old forum in July 2007 · view the original in the archive · old links redirect here
Written automatically from the replies by a language model on our own server. It can be wrong; the posts below are the source.
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,
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
nope jus tryd it too didn work
Want something coded email me at sales@webnwaphost.com for a prices.
yep nufin all a got was the text phone number but the query didn work
Want something coded email me at sales@webnwaphost.com for a prices.
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ノ刀ノイリ!
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....
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
but tht i cnt put in my lava script or can i?
you can put it everywhere you want to External image (may be gone)
Advertise your mobile site for FREE with AdTwirl
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....
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....