Server Administration
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesServer Administration

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
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  
Old January 9th, 2008, 02:46 AM
tvks tvks is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Hyderabad, AP, India
Posts: 49 tvks User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 55 m 43 sec
Reputation Power: 2
Thumbs up Client Details

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

Reply With Quote
  #2  
Old January 9th, 2008, 03:21 AM
tkarkkainen's Avatar
tkarkkainen tkarkkainen is offline
Moderator
Click here for more information
 
Join Date: Apr 2007
Location: Finland
Posts: 2,320 tkarkkainen User rank is Lance Corporal (50 - 100 Reputation Level)tkarkkainen User rank is Lance Corporal (50 - 100 Reputation Level)tkarkkainen User rank is Lance Corporal (50 - 100 Reputation Level)  Folding Points: 12288 Folding Title: Novice Folder
Time spent in forums: 6 Days 8 h 50 m 48 sec
Reputation Power: 4
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

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesServer Administration > Client Details


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway