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
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
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
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
: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,
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:
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
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
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!.
> -
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
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
> >
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
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
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:
>
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
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
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
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
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.
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
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:
>
>
>
:
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
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
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
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
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
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/
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
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
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
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
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
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
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
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
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
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
>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
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
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
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
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
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
/'
>. 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
('utf-8', 'ucs-2', $in_msg));
>
>$results = file('http://'
>. CONFIG_KANNEL_HOST . ':'
>. CONFIG_KANNEL_PORT . $url);
> }
>
>
>
> -Original Message-
> From: Alejandro Guerrieri
. '&text=' . urlencode(iconv('utf-8', 'ucs-2', $in_msg));
>
>$results = file('http://'
>. CONFIG_KANNEL_HOST . ':'
>. CONFIG_KANNEL_PORT . $url);
> }
>
>
>
> -Original Mes
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
' 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.
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.
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
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
51 matches
Mail list logo