I have seen that many websites in php sending sms using php form. I want to know how can i send sms using php? How much it will cost me to send sms?
I think you need to have a licence from VOIP companies to send sms. Well basically it is easier to hire a programmer for its a complicated process.
Hello, You just need to register on sms gateway or you can follow this scripy below: <?php require("class.phpmailer.php"); $mail = new PHPMailer(); $mail->IsSMTP(); // set mailer to use SMTP $mail->Host = "ipipi.com"; // specify main and backup server $mail->SMTPAuth = true; // turn on SMTP authentication $mail->Port =25; $mail->Username = "YoureIPIPIUsername"; // SMTP username at ipipi $mail->Password = "YourPassword"; // SMTP password $mail->From = "YourUserName@ipipi.com"; $mail->FromName = "Your Name"; $mail->AddAddressTo("DestinationPhoneNumber@sms.ipipi.com", "Receiver Name"); $mail->Subject = "Compression Option goes here - find out more"; $mail->Body = "Your Message"; if(!$mail->Send()) { echo "Message could not be sent. <p>"; echo "Mailer Error: " . $mail->ErrorInfo; exit; } echo "Message has been sent"; ?>
You can sms but for that you need sms gateway... If you have sms gateway than you easily find script for that