Date: 11/30/01
- Next message: chip.wiegand <email protected>: "[PHP] I'm getting frustrated with this."
- Previous message: Dan McCullough: "Re: [PHP] SMS"
- In reply to: Daniel Berwig: "[PHP] SMS"
- Next in thread: Henrik Hansen: "Re: [PHP] SMS"
- Reply: Henrik Hansen: "Re: [PHP] SMS"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Heres a code snippet:
Sorry for leading astray.
// load the swsms module
dl( "../swsms.so" );
// create the sms object
$sms = create_sms();
// send the carrier list request
carrierlist_send( &$sms );
// check if the request was a success
if( ! $sms->success ) {
// display error info
print( "Unable to retreive a carrier list from Simplewire: " . $sms->errorDesc . "\n" );
print( "Error Code: " . $sms->errorCode . "\n" );
}
else {
// walk the carrier list array
array_walk( $sms->carrierlist, displayCarrier );
}
function displayCarrier( $c ) {
// display the carrier info
print( "ID: " . $c->id . "\n" );
print( "Title: " . $c->title . $c->subtitle . "\n\n" );
}
--- Daniel Berwig <grafbi02 <email protected>> wrote:
> Does anyone know how could I send data from php through SMS to a cel phone?
> I simply can't find info about that.
>
> Thanks in advance,
>
> Daniel Berwig.
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe <email protected>
> For additional commands, e-mail: php-general-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
>
=====
Dan McCullough
-------------------------------------------------------------------
"Theres no such thing as a problem unless the servers are on fire!"
h: 603.444.9808
w: McCullough Family
w: At Work
__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: chip.wiegand <email protected>: "[PHP] I'm getting frustrated with this."
- Previous message: Dan McCullough: "Re: [PHP] SMS"
- In reply to: Daniel Berwig: "[PHP] SMS"
- Next in thread: Henrik Hansen: "Re: [PHP] SMS"
- Reply: Henrik Hansen: "Re: [PHP] SMS"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

