RE: php script

2012-07-22 Thread bilal kamoto
Thanks a lot guys From: Alvaro Cornejo [mailto:cornejo.alv...@gmail.com] Sent: 15 July 2012 21:32 To: bilal kamoto Cc: spame...@gmail.com; users@kannel.org Subject: Re: php script Hi check http://www.developershome.com/sms/resultCodes2.asp#16.2.1.1.Table%20of%20+CM S%20Error%20Codes

Re: php script

2012-07-15 Thread Alvaro Cornejo
cess" > log-file = "smsbox.log" > log-level = 0 > > #Receive SMS > group = sms-service > keyword = default > get-url = "http://localhost/receivesms.php?sender=%p&text=%b"; > accept-x-kannel-headers = true > max-messages = 5 > concatenation = true

RE: php script

2012-07-15 Thread bilal kamoto
enter-number = +2659900140sendsms-chars = "0123456789 "global-sender = +255659375093access-log = "kannel.access"log-file = "smsbox.log"log-level = 0 #Receive SMSgroup = sms-servicekeyword = defaultget-url = "http://localhost/receivesms.php?sender=%p&text=%b"a

Re: php script

2012-06-11 Thread Mfawa Alfred Onen
ble] where message=reg no. it should send the result if a match is found. > > > Thanks in advance > > ** ** > > *From:* Joseph Koech [mailto:kipponthe...@gmail.com] > *Sent:* 11 June 2012 13:01 > *To:* Mfawa Alfred Onen > *Cc:* bilal kamo

RE: php script

2012-06-11 Thread bilal kamoto
:01 To: Mfawa Alfred Onen Cc: bilal kamoto; users@kannel.org Subject: Re: php script Check your get-url. Remove amp; so it looks like this: get-url = "http://localhost/smsreceive.php?sender=%p <http://localhost/smsreceive.php?sender=%25p&text=%25b> &text=%b" On Mon,

Re: php script

2012-06-11 Thread Joseph Koech
29 AM, bilal kamoto wrote: > >> tied your code its not different from the one i had before and still am >> getting the same problem only the number field is the one being updated... >> thanks in advance.. >> >> ---------- >> Date:

Re: php script

2012-06-11 Thread Mfawa Alfred Onen
n advance.. > > -- > Date: Mon, 11 Jun 2012 00:14:50 +0300 > Subject: Re: php script > From: kipponthe...@gmail.com > To: bgk...@hotmail.com > CC: spame...@gmail.com; users@kannel.org > > > Try the following code and tell if it works: > > > define("DBHOST&qu

RE: php script

2012-06-11 Thread bilal kamoto
tied your code its not different from the one i had before and still am getting the same problem only the number field is the one being updated... thanks in advance.. Date: Mon, 11 Jun 2012 00:14:50 +0300 Subject: Re: php script From: kipponthe...@gmail.com To: bgk...@hotmail.com CC: spame

Re: php script

2012-06-10 Thread Joseph Koech
echo 'Connection failed: ' . $e->getMessage(); } } insertSms($_GET['sender'],$_GET['text']); ?> On Sun, Jun 10, 2012 at 7:17 PM, bilal kamoto wrote: > > changed it to text but am still getting the same error!. > -

RE: php script

2012-06-10 Thread bilal kamoto
changed it to text but am still getting the same error!. Date: Sun, 10 Jun 2012 20:03:33 +0400 Subject: Re: php script From: spame...@gmail.com To: cyberja...@gmail.com CC: bgk...@hotmail.com; users@kannel.org It's better to use message as a text type instead of varchar(50) because me

Re: php script

2012-06-10 Thread spameden
ted to my problem... > thanks in advance.. > > > Date: Sun, 10 Jun 2012 15:28:18 +0100 > > Subject: Re: php script > > From: nb...@backup.sh > > To: bgk...@hotmail.com > > > > DALMP is an application designed to query/cache mysql something like > >

Re: php script

2012-06-10 Thread Jacob Mansfield
t the message field does not update..is > it related to my problem... > thanks in advance.. > > > Date: Sun, 10 Jun 2012 15:28:18 +0100 > > Subject: Re: php script > > From: nb...@backup.sh > > To: bgk...@hotmail.com > > > > DALMP is an application d

RE: php script

2012-06-10 Thread bilal kamoto
advance.. > Date: Sun, 10 Jun 2012 15:28:18 +0100 > Subject: Re: php script > From: nb...@backup.sh > To: bgk...@hotmail.com > > DALMP is an application designed to query/cache mysql something like > adodb but specially for mysql and memcache/redis as cache backends

RE: php script

2012-06-10 Thread bilal kamoto
m > To: bgk...@hotmail.com > CC: spame...@gmail.com; us...@vm1.kannel.org > Subject: Re: php script > > hello there, > > there is an error in you php code, just change this line: > > $stmt->bindParam(':message',$text); > > into this: >

Re: php script

2012-06-09 Thread amin . m
hello there, there is an error in you php code, just change this line: $stmt->bindParam(':message',$text); into this: $stmt->bindParam(':text',$text); then hopefully it works out for you :D if not, tell us more about it. note you might also want to store more informat

php script

2012-06-08 Thread bilal kamoto
hi users, I've successfully managed to install kannel it is able to send as well as receive sms, i got the following script on the online it is supposed to update database fields, message and sender and then send a reply but i can only see the sender in the database the message does show... her

Re: URL encoding error in sms sending by Php Script

2011-04-08 Thread Alvaro Cornejo
dsms?username=kannel&password=x&&charset=UCS-2&coding=2' >  . "&to={$to}" >  . '&text=' . urlencode(iconv('utf-8', 'ucs-2', $message)); > $results = file('http://localhost:13013'.$url); > } > -- > V

Re: URL encoding error in sms sending by Php Script

2011-04-08 Thread write2...@live.com
t; $url = > '/cgi-bin/sendsms?username=kannel&password=x&&charset=UCS-2&coding=2' > . "&to={$to}" > . '&text=' . urlencode(iconv('utf-8', 'ucs-2', $message)); > $results = file('http://localhost:13013&#

URL encoding error in sms sending by Php Script

2011-04-08 Thread write2...@live.com
urlencode(iconv('utf-8', 'ucs-2', $message)); $results = file('http://localhost:13013'.$url); } -- View this message in context: http://old.nabble.com/URL-encoding-error-in-sms-sending-by-Php-Script-tp31349279p31349279.html Sent from the Kannel - User mailing list archive at Nabble.com.

Re: Send multiple sms using php script

2010-06-11 Thread Nikos Balkanas
el list Cc: nbalka...@gmail.com Sent: Friday, June 11, 2010 3:41 PM Subject: Re: Send multiple sms using php script Hello, I want to know something about to (to parameter in kannel sendsms url) parameter which explain by Nikos. is + sign is a separator between two mobile number? How many mob

Re: Send multiple sms using php script

2010-06-11 Thread Bruno Rey
gt; > > --- On *Fri, 11/6/10, Nikos Balkanas * wrote: > > > From: Nikos Balkanas > Subject: Re: Send multiple sms using php script > To: "steven edward" , users@kannel.org > Date: Friday, 11 June, 2010, 4:48 PM > > > Hi, > > Try: > > >

Re: Send multiple sms using php script

2010-06-11 Thread T.K.Thapa
: From: Nikos Balkanas Subject: Re: Send multiple sms using php script To: "steven edward" , users@kannel.org Date: Friday, 11 June, 2010, 4:48 PM Hi, Try: http://localhost:13013/cgi-bin/sendsms?username=sedu&password=test&to=0715323232+0715323233+...&text=Hello+world BR

Re: Send multiple sms using php script

2010-06-11 Thread Nikos Balkanas
Hi, Try: http://localhost:13013/cgi-bin/sendsms?username=sedu&password=test&to=0715323232+0715323233+...&text=Hello+world BR, Nikos - Original Message - From: steven edward To: users@kannel.org Sent: Friday, June 11, 2010 2:06 PM Subject: Send multiple sms using php scrip

Re: Send multiple sms using php script

2010-06-11 Thread sangprabv
Quick and dirty solution is using php-curl. Call sendsms URL and loop in it. sangprabv sangpr...@gmail.com On Jun 11, 2010, at 6:06 PM, steven edward wrote: > hi! > Am a new user of kannel and i want to send more than one sms am using header > to send sms it is okay but i don known how can i

Send multiple sms using php script

2010-06-11 Thread steven edward
hi! Am a new user of kannel and i want to send more than one sms am using header to send sms it is okay but i don known how can i return to my page in order to send another one to another phone number. my header http://localhost:13013/cgi-bin/sendsms?username=sedu&password=test&to=0715323232&text=H

Re: Sending Mutiple sms using PHP script

2010-01-25 Thread Juan Nin
hints: for(), foreach() ;) On Mon, Jan 25, 2010 at 2:07 PM, Kannan wrote: > Hi Friends.. > >     I have list of numbers in php array.How to send sms to those > numbers in the array using the php script through the Kannel. > > > > > > > -- > With regar

Sending Mutiple sms using PHP script

2010-01-25 Thread Kannan
Hi Friends.. I have list of numbers in php array.How to send sms to those numbers in the array using the php script through the Kannel. -- With regards, Kannan. R. P, Blog @: http://kannan4k.wordpress.com/

Re: Kannel / PHP script (games, ...)

2009-10-12 Thread Emmanuel CHANSON
Does anyone know how to find one PHP script to use in the "get-url" > > parameter in sms-services? > > I would like to test simple one to have an example. I know I can create > one > > but I already did it and something is wrong in it. > > It works using fakesms

Re: Kannel / PHP script (games, ...)

2009-10-12 Thread Juan Nin
On Mon, Oct 12, 2009 at 8:48 PM, Emmanuel CHANSON wrote: > Hello everybody, > > Does anyone know how to find one PHP script to use in the "get-url" > parameter in sms-services? > I would like to test simple one to have an example. I know I can create one > but I alr

Kannel / PHP script (games, ...)

2009-10-12 Thread Emmanuel CHANSON
Hello everybody, Does anyone know how to find one PHP script to use in the "get-url" parameter in sms-services? I would like to test simple one to have an example. I know I can create one but I already did it and something is wrong in it. It works using fakesms but not using mo

Php script not working

2008-04-21 Thread info.ubichip
Hi, I tried to use the simple form web php script in /contrib/web But I got the following error with the "each" Sendsms [?] From: [?] To: [?] Validity: [?] Deferred: Warning: Variable passed to eac

Re: Invoking PHP Script through Kannel

2008-01-15 Thread d.c.
i think, the problem is to search in the database-filed.. you said, you had set the filed to "text-type".. you man varchar? longtext? or only text??? all of these types have a maximum of storable datas.. except longtext... set it to longtext, and i think you have no more problems to store your sms

Re: Invoking PHP Script through Kannel

2008-01-15 Thread d.c.
store your sms! :) greets dano > Stipe Tolj wrote: >> seik schrieb: >>> its not the php script >>> >>> you need to set the kannel to concatenate the messages longer than >>> 160 symbols in one. >>> concatenate-mo=true or similar >> >&g

Re: Invoking PHP Script through Kannel

2008-01-15 Thread Kyriacos Sakkas
Stipe Tolj wrote: > seik schrieb: >> its not the php script >> >> you need to set the kannel to concatenate the messages longer than >> 160 symbols in one. >> concatenate-mo=true or similar > > now, in case you have more then 160 chars payload via concatenat

Re: Invoking PHP Script through Kannel

2008-01-15 Thread Stipe Tolj
seik schrieb: its not the php script you need to set the kannel to concatenate the messages longer than 160 symbols in one. concatenate-mo=true or similar now, in case you have more then 160 chars payload via concatenated MOs, then Seik is right. Stipe

Re: Invoking PHP Script through Kannel

2008-01-15 Thread Stipe Tolj
preeteesh kakkar schrieb: Hi, I am invoking a PHP script when kannel recieves any sms. The received sms is then stored in db from that PHP script. In case the sms is too large it is cut and whole sms is not stored in db. I am using GET request as paramter in kannel. I think becuase of limit

Re: Invoking PHP Script through Kannel

2008-01-15 Thread seik
its not the php script you need to set the kannel to concatenate the messages longer than 160 symbols in one. concatenate-mo=true or similar its in the manual .. -Original Message- From: preeteesh kakkar [EMAIL PROTECTED] Sent: 15 ?? 2008 ?. To: seik Subject:Invoking PHP

Re: Invoking PHP Script through Kannel

2008-01-15 Thread Rodrigo Cremaschi
>From within the PHP script, write the text to a file for debugging. So you will know where the problem is. On Jan 15, 2008 10:37 AM, Mads N. Vestergaard - CoolSMS <[EMAIL PROTECTED]> wrote: > > You could try to check the log for your webserver and see why the data > seems t

Re: Invoking PHP Script through Kannel

2008-01-15 Thread Mads N. Vestergaard - CoolSMS
y prohibited. preeteesh kakkar skrev: Hi,       I am invoking a PHP script when kannel recieves any sms. The received sms is then stored in db from that PHP script. In case the sms is too large it is cut and whole sms is not stored in db. I am using GE

Re: Invoking PHP Script through Kannel

2008-01-15 Thread preeteesh kakkar
l from your system. If you are not the intended recipient you are > > notified that disclosing, copying, distributing or taking any action in > > reliance on the contents of this information is strictly prohibited. > > > > > > preeteesh kakkar skrev: > > > > H

Re: Invoking PHP Script through Kannel

2008-01-15 Thread preeteesh kakkar
ve received this e-mail by mistake and delete > this e-mail from your system. If you are not the intended recipient you are > notified that disclosing, copying, distributing or taking any action in > reliance on the contents of this information is strictly prohibited. > > > preetees

Re: Invoking PHP Script through Kannel

2008-01-14 Thread Mads N. Vestergaard - CoolSMS
skrev: Hi,       I am invoking a PHP script when kannel recieves any sms. The received sms is then stored in db from that PHP script. In case the sms is too large it is cut and whole sms is not stored in db. I am using GET request as paramter in kannel. I think becuase of limit of url lenght

Invoking PHP Script through Kannel

2008-01-14 Thread preeteesh kakkar
Hi, I am invoking a PHP script when kannel recieves any sms. The received sms is then stored in db from that PHP script. In case the sms is too large it is cut and whole sms is not stored in db. I am using GET request as paramter in kannel. I think becuase of limit of url lenght the whole sms

Re: Sending Multiple SMS's using PHP script

2007-10-20 Thread Alejandro Guerrieri
/' >. CONFIG_KANNEL_HOST . ':' >. CONFIG_KANNEL_PORT . $url); > } > > > > -Original Message- > From: Alejandro Guerrieri [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 18, 2007 5:25 PM > To: users@kannel.or

Re: Sending Multiple SMS's using PHP script

2007-10-20 Thread preeteesh kakkar
('utf-8', 'ucs-2', $in_msg)); > >$results = file('http://' >. CONFIG_KANNEL_HOST . ':' >. CONFIG_KANNEL_PORT . $url); > } > > > > -Original Message- > From: Alejandro Guerrieri

Re: Sending Multiple SMS's using PHP script

2007-10-20 Thread hafez ahmad
. '&text=' . urlencode(iconv('utf-8', 'ucs-2', $in_msg)); > >$results = file('http://' >. CONFIG_KANNEL_HOST . ':' >. CONFIG_KANNEL_PORT . $url); > } > > > > -Original Mes

RE: Sending Multiple SMS's using PHP script

2007-10-20 Thread Raphael Maseko
Guerrieri [mailto:[EMAIL PROTECTED] Sent: Thursday, October 18, 2007 5:25 PM To: users@kannel.org Subject: Re: Sending Multiple SMS's using PHP script Why are you redirecting with a header? Use file_get_contents( $url ) or file( $url ) to call kannel. Alternatively, use sqlbox and ins

Re: Sending Multiple SMS's using PHP script

2007-10-18 Thread Andrew R. Jenkins
' with different content retrieved from a database. I have a php script that is accessing a database and retrieving a value corresponding to a mobile number. It is then supposed to send SMS's to the numbers retrieved. What is happening is that it will only send the first one and stop.

Re: Sending Multiple SMS's using PHP script

2007-10-18 Thread Alejandro Guerrieri
phael Maseko <[EMAIL PROTECTED]> wrote: > > Hi All, > > I am trying to use kannel to send multiple SMS' with different content > retrieved from a database. > > I have a php script that is accessing a database and retrieving a value > corresponding to a mobile number.

Sending Multiple SMS's using PHP script

2007-10-18 Thread Raphael Maseko
Hi All, I am trying to use kannel to send multiple SMS' with different content retrieved from a database. I have a php script that is accessing a database and retrieving a value corresponding to a mobile number. It is then supposed to send SMS's to the numbers retrieved. What is ha

Re: PHP script please help

2006-02-06 Thread Rodrigo Cremaschi
Hello Achmad, You may program a dispatcher.php which can be in charge of receiving all the incoming (MO) SMS, perform a query to the database and, according to the results, invoke the apropriate action. But, from my point of view, is better to have this decision made within dispatcher.php