FrontlineSMS

FrontlineSMS let users send, receive and manage SMS over a mobile network.

Njuguna Ndung'u
  • Male
  • Nairobi
  • Kenya
Share on Facebook Share Twitter
  • Blog Posts
  • Discussions (5)
  • Groups
  • Photos
  • Photo Albums
  • Videos

Njuguna Ndung'u's Discussions

Connecting HTTP trigger to database using php
7 Replies

I am currently working on something that requires that can use the http trigger to send a text but get the numbers and the message from a mysql database using php. My very very simple code…Continue

Tags: mysql, php, trigger, http

Started this discussion. Last reply by Njuguna Ndung'u May 11, 2011.

Gifts Received

Gift

Njuguna Ndung'u has not received any gifts yet

Give a Gift

 

Njuguna Ndung'u's Page

Latest Activity

Njuguna Ndung'u replied to Njuguna Ndung'u's discussion Connecting HTTP trigger to database using php
"Tried a different modem and it worked. Thank a lot man!!"
May 11, 2011
Njuguna Ndung'u replied to Njuguna Ndung'u's discussion Connecting HTTP trigger to database using php
"The port is ok, I had tested it. I will put the http:// before localhost, but I am thinking that the problem is with the modem because even my computer is not recognizing it sometimes. I am going to try another modem and get back to you on the…"
May 10, 2011
Mathias Lin replied to Njuguna Ndung'u's discussion Connecting HTTP trigger to database using php
"put http:// in front of localhost:8011  --> http://localhost:8011"
May 10, 2011
Njuguna Ndung'u replied to Njuguna Ndung'u's discussion Connecting HTTP trigger to database using php
"Thanks a lot Mathias!! I had not used the mysql_connect query and removed the include file statement and just passed the database details variables on the same page. Now the php problemis solved and now the links for sending the text are appearing…"
May 10, 2011
Mathias Lin replied to Njuguna Ndung'u's discussion Connecting HTTP trigger to database using php
"Hi Njuguna, can you try this enhanced line of code for the query and see whether you get any info on the error details. Also, you are connected to your database (called mysql_connect before), right? "
May 10, 2011
Njuguna Ndung'u replied to Njuguna Ndung'u's discussion Connecting HTTP trigger to database using php
"Thanks Florence, Hopefully there is someone who can help."
May 9, 2011
Florence Scialom replied to Njuguna Ndung'u's discussion Connecting HTTP trigger to database using php
"Hi Njuguna,   Thanks very much for posting. Unfortunately, the FrontlineSMS team is not able to provide support on PHP issues here, but there may hopefully be another FrontlineSMS user on the forum able to help.   All the Best, Florence"
May 9, 2011
Njuguna Ndung'u posted a discussion

Connecting HTTP trigger to database using php

I am currently working on something that requires that can use the http trigger to send a text but get the numbers and the message from a mysql database using php. My very very simple code is: <?php    include "lib/configtxt.php";    $query="select * from contact";    $result=mysql_query($query);    while($info=mysql_fetch_array($result))    {    $url=$info['phoneNumber'];        print"<a href='localhost:8011/send/sms/".$url."/HiHi/'>send texts</a>";    }    ?>The…See More
May 9, 2011
Njuguna Ndung'u is now a member of FrontlineSMS
May 9, 2011

Profile Information

Why are you interested in FrontlineSMS? How did you hear about it? (To help us filter out spammers, we need as MUCH detail as possible, else we may not be able to approve your request. If you'd rather not share this information openly please email info@frontlinesms.com before joining)
I was reffered to frontline sms by a schoolmate of mine. I am currently working on my second year that requires me to have an sms service and I was informed that Frontlinesms is the best for this.
Tell us about you. (Please also add an image to your profile)
I am a second year student at the University of Nairobi currently pursuing a Bsc degree in Computer Science. My current interests in this field are in web design and development and mobile technology so I guess it is obvious why frontlinesms is of interest to me.

Comment Wall

You need to be a member of FrontlineSMS to add comments!

Join FrontlineSMS

  • No comments yet!
 
 
 

Photos

  • Add Photos
  • View All

© 2014   Created by FrontlineSMS Admin.   Powered by

Badges  |  Report an Issue  |  Terms of Service