Hi,
I'm messing around with sending text messages to cell phones using the PHP mail function. I can send a message to mine because I know my own carrier. My question now is, if someone were to provide their phone number to get text messages, is there any logical way to decode that telephone number and figure out who the carrier? Do certain companies use certain prefixes? I really don't want to ask people who their carrier is, seeing as how it doesn't pertain to the other stuff that I'm asking.
Also, what else, if anything, can we figure out about a phone number? (ex. Cell Phone vs. Land Line?)
Thanks,
Danny
Discern service provider based on phone number - Possible?
Moderator: General Moderators
-
dmcalerney
- Forum Newbie
- Posts: 2
- Joined: Thu Jun 15, 2006 5:22 pm
-
dmcalerney
- Forum Newbie
- Posts: 2
- Joined: Thu Jun 15, 2006 5:22 pm
Hmmmm...
I didn't think of that. Shucks.
Thanks for the reply.
Sincerely,
Danny
Thanks for the reply.
Sincerely,
Danny
Re: Discern service provider based on phone number - Possibl
It is possible, using the cURL library and querying a website that can give relevent information with a reverse phone lookup. Whitepages.com will list the service provider and whether or not its a land line, but I don't know how accurate and up-to-date that information is.dmcalerney wrote:Hi,
I'm messing around with sending text messages to cell phones using the PHP mail function. I can send a message to mine because I know my own carrier. My question now is, if someone were to provide their phone number to get text messages, is there any logical way to decode that telephone number and figure out who the carrier? Do certain companies use certain prefixes? I really don't want to ask people who their carrier is, seeing as how it doesn't pertain to the other stuff that I'm asking.
Also, what else, if anything, can we figure out about a phone number? (ex. Cell Phone vs. Land Line?)
Thanks,
Danny