Generally when we are using GPRS connection , the request will be sent to appropriate host as a http(s) request . In receiving side ( PHP ) , we are able to get the IP address using $_SERVER or $_REQUEST variable . Like that is there any way to get the mobile number that means from which mobile number request being given. Can any one help me out of this problem….
Thanks
No you cannot get the mobile number. Http does not know about the GSM client that is your mobile phone. Even the mobile does not have an IP, the IP you’re getting is the IP of the GPRS gateway of the telecom service provider of the mobile SIM card.
Only way out is to prompt the user to input his mobile number and trust the user for he has given correct mobile number and get that mobile number from Http-GET or Http-POST at your server-side.