Hello Mike,
This is actually a forum for kannel and not PHP but find below.

==========
    $url = 
"http://localhost:13013/cgi-bin/sendsms?username=user&password=pass&from=12345&to=$to&text=".rawurlencode($txt);
    $output = join('', file("$url"));
    $output returns whatever you have on the URL
==========


Regards,
Mike Nwaogu
Metro Technologies & Resources Ltd.
----- Original Message ----
From: Michael Habashy <[EMAIL PROTECTED]>
To: users@kannel.org
Sent: Friday, October 12, 2007 2:24:16 PM
Subject: error codes and sending http requests to kannel smsbox


I have gone through the documentation and found no error levels or error 
responses from kannel that might give off when:

1. when the phone has  a problem.

2. when smsbox is not responding.

3. when bearerbox is not responding.

 

Can anyone help ?  I am using php curl at the command line...is there a better 
way to do http gets so i can get error codes if the requests are not 
successful???

 

 

thanks

mjh







       
____________________________________________________________________________________
Need a vacation? Get great deals
to amazing places on Yahoo! Travel.
http://travel.yahoo.com/

Reply via email to