|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
|
|
#1
|
|||
|
|||
|
Hi,
I am running on Apache, PHP and MySQL. I do not have TomCat installed. Apache Version : Apache/2.2.6 (Win32) DAV/2 mod_ssl/2.2.6 OpenSSL/0.9.8e mod_autoindex_color PHP/5.2.4 My server has a public IP and hence is accessible from any part of the world. ******************** My trouble: Certain clients connect to my system using terminals (computers via internet) while certain clients use their mobile phone to connect to my server. My requirement is that I want to get the clients IP address (if client connect via terminal) and mobile phone number (if client connect via mobile phone internet). I have heard that apache creates a log when any client gets connected. I would love to have some info about that also. I am a PHP Coder (and I love PHP ) while I do not know much about APACHE except that it works as my Web-server.Thanx for any help in advance. Regards, tvks |
|
#2
|
||||
|
||||
|
People who connect using a mobile phone use technologies such as GPRS and UMTS to connect to the internet. These connections are designed to be data connections, not regular telephone connections. At some point the connection is converted to a TCP/IP connection. This means, that by the time the connection reaches your server, the cell phone will have an IP address. I don't think you can get the phone number this way.
The IP address of the user is in the $_SERVER['REMOTE_ADDR'] variable.
__________________
Fight Internet censorship! Code:
() ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Server Administration > Client Details |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|