#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2010
    Posts
    3
    Rep Power
    0

    Unhappy Sending multipale SMS to multiple reciepients


    Hi,
    I am using kannel WAP gateway in Ubuntu 9.10, i want to send multiple messages to multiple recipients depending on on criteria determined for MySQL database using PHP script, how can i do this?

    Here is the sample of the loop am using to send messages

    PHP Code:
     while($noma=mysql_fetch_array($rt)
    {
    $to=$noma['mobile'];
    $msgText=$noma['message'];
    $URL "http://localhost:13013/cgi-bin/sendsms?username=".peter."&password=".malosha."&from=".GLOBAL_SENDER."&to=$to&text=".urlencode($msgText);    
    header('Location: '.$URL);

    Please Help im am
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2010
    Posts
    3
    Rep Power
    0
    to add on my thread,
    whenever i try to execute that script it just send on message even if there was a possibility of many messages
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2010
    Posts
    1
    Rep Power
    0
    Simple and easy for modification, PHP script for SMS sending
    sourceforge.net/projects/send-sms-script

IMN logo majestic logo threadwatch logo seochat tools logo