There is an article on sending receiving sms using linux here;
http://www.developershome.com/sms/freeLibForSMS.aspI think you need to find the commandline tools and use the
http://nl2.php.net/function.exec functions to fire them. Next you prob. need a cron php job to monitor and verify sms messages from either file or db. using the db modules / file handlers...
Rgrds,