How to send sms using php script? What type of server will I need to send sms on mobile?
How to send sms using php script? What type of server will I need to send sms on mobile?
Use this for sending SMS through php scripting.Code://this is the url of the gateway's interface $url = "http://www.tm4b.com/client/api/send.php"; //initialize curl handle $ch = curl_init; curl_setopt($ch, CURLOPT_URL, $url); //set the url curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); //return as a variable curl_setopt($ch, CURLOPT_POST, 1); //set POST method curl_setopt($ch, CURLOPT_POSTFIELDS, $request); //set the POST variables $response = curl_exec($ch); //run the whole process and return the response curl_close($ch); //close the curl handle //show the result onscreen for debugging //print $response;
Honda ATVs for sale - Bike Trader
I'm not sure what your reply has to do with SMS.
SMS messages are simply emails sent to a "carrier" which will forward it correctly.
All you need to do is send a normal email to the carrier which is used by your phone provider.
Keeping an up-to-date carrier list is the nightmare.
I have written a few SMS CMSs and the coding was just a normal contact form with number field instead of subject line.
Bookmarks