Subject | RE: [firebird-php] SMS sending to mobile from webpage |
---|---|
Author | Alan McDonald |
Post date | 2005-03-01T06:06:59Z |
Hi there,
How can I send sms from webpage to mobile using PHP or any other
language. Any kind of help appreciatd.
Regards
mrislam
[Alan McDonald] this isn't a firebird question at all really but I'll tell
you how I do it.
It depends a little on what sort of gateway you have access to from your
provider. but this is a code snippet using nusoap (google on nusoap for the
free class)
//
------------------------------------------------------------------------
---------------
require_once('nusoap.php');
$c = new soapclient('http://whatever domain you are
provded/smswebservice.asmx');
$callarray = array(
'username'=>'your email address',
'password'=>'your password',
'toNumbers'=>'+mobile number',
'fromNumber'=>'+mobile number',
'message'=>'whatever your message is....'
);
$result =
$c->call('sendSmsString',$callarray,'http://tempuri.org','SMS
webservices/sendSmsString',false,null,null,null);
Alan
[Non-text portions of this message have been removed]
How can I send sms from webpage to mobile using PHP or any other
language. Any kind of help appreciatd.
Regards
mrislam
[Alan McDonald] this isn't a firebird question at all really but I'll tell
you how I do it.
It depends a little on what sort of gateway you have access to from your
provider. but this is a code snippet using nusoap (google on nusoap for the
free class)
//
------------------------------------------------------------------------
---------------
require_once('nusoap.php');
$c = new soapclient('http://whatever domain you are
provded/smswebservice.asmx');
$callarray = array(
'username'=>'your email address',
'password'=>'your password',
'toNumbers'=>'+mobile number',
'fromNumber'=>'+mobile number',
'message'=>'whatever your message is....'
);
$result =
$c->call('sendSmsString',$callarray,'http://tempuri.org','SMS
webservices/sendSmsString',false,null,null,null);
Alan
[Non-text portions of this message have been removed]