title: How do I detect a cellular carrier dynamically through php/ajax/javascript?
body: <p>I'm asking this because I've been on SO most of the day, and can’t seem to get/find an answer.</p>
  <p>This is what I'm trying to do (<strong>without using a paid gateway</strong>):</p>
  <p>-First of all I'm setting up a database with various info and dates.</p>
  <p>-Using a cron I will be running a script to send out that various information (user supplied) to the user on that date via an email to SMS PHP script.</p>
  <p>-To avoid maintaining an accurate cellular carrier list. I would like to somehow ping the number and return the carrier and the appropriate &quot;@carrier-email-extension&quot; to send out the message. (I don't want to ask the user during registration; to streamline registration - as not to be a PIA and get more users) - I currently have a dropdown with about 50 carriers listed (I know I may have forgotten or accidentally left out some), but I don't want to have to maintain the list. I would like to delete this part of the form. Ideally, I would like to check the number via ajax/javascript as it is entered and send the carrier info to MYSQL during submission.</p>
  <p>-The user already agrees to get SMS messages/updates/texts from my service, so nothing malicious is going on. They will agree when setting up another message:</p>
  <blockquote>
  <p>You will be sending a SMS message with the following information {listed information} to <strong>your</strong> mobile number, {mobile number} on {date}.</p>
  </blockquote>
  <p>Any suggestions?</p>