Google
 
Web www.howardforums.com
Pages: 1

php sub-id?

(Click here to view the original thread with full colors/images)


Posted by: mrweirdo

I was wondering if anyone here might know of a way to get the sub-id of your phone and print it out the page. I was thinking of something along the lines of:
PHP Code:
<?
$hostname 
gethostbyaddr($_SERVER['REMOTE_ADDR']);
echo 
$hostname;
?>


but that doesnt seem to work as it prints out atlsnm526.adc.nexteldata.net which is oviously not the sub-id



Posted by: mrweirdo

nm figured it out

for anyone who might want to know:
PHP Code:
<?
 
echo $_SERVER['HTTP_X_UP_SUBNO'];
 
?>




Posted by: KBAM

Wirelessly posted (Now Playing...MOT i860/1.01: MOT-A-1C/01.01 UP.Browser/7.0.0.2.c.1.104 (GUI) MMP/2.0 UP.Link/5.1.2.12)

This is interesting, weirdo. Whatcha doin' with this script? --BAM



Posted by: mrweirdo

well I'm making a wap based text pager that uses imap or pop3 email accounts that uses authentication by sub-id.





vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Limited.
vB Easy Archive Final ©2000 - 2009 - Created by Stefan "Xenon" Kaeser