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
I might also recommend trying CURL for calling Kannel. I've used for both GET and POST and had no issues as of yet. -andrew On Oct 18, 2007, at 10:25 AM, Alejandro Guerrieri wrote: Why are you redirecting with a header? Use file_get_contents( $url ) or file( $url ) to call kannel. Alternat

Re: Sending Multiple SMS's using PHP script

2007-10-18 Thread Alejandro Guerrieri
Why are you redirecting with a header? Use file_get_contents( $url ) or file( $url ) to call kannel. Alternatively, use sqlbox and insert a row for each message to send (if you pretend to send a high load of messages that's definitely the way to go). Regards, Alejandro On 10/18/07, Raphael Mas

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 happening is t