arturo322 Posted December 1, 2010 Share Posted December 1, 2010 i would like to send sms using AT Hayes command in php... is it possible? Quote Link to comment Share on other sites More sharing options...
upp Posted December 1, 2010 Share Posted December 1, 2010 you can use the mail() function to send SMS messages, all you will need to know is the email address that the cell phone company uses to receive SMS messages, for example sprint uses messaging.sprintpcs.com att uses txt.att.net so if i was sending a message to a sprint phone i would use this code: <?php $number = '18001234567'; // enter phone number here $message = 'enter your message here'; mail($number . '@messaging.sprintpcs.com', 'SMS', $message); ?> Quote Link to comment Share on other sites More sharing options...
arturo322 Posted December 2, 2010 Author Share Posted December 2, 2010 Can this send and recieve SMS messages? it works like this, Cellphone users texts command to simcard on sms modem, the sms modem recieves the data and processes the command, after processing sms modem sends response to the cellphone user Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.