You would need to find a service for this.
There's a few way to go at it.
Google offers SMS Text Messaging you would need to find a PHP Class for that. its kind of a hack. but its free.
or use Twilio which charges about 2 cents per SMS and they provide an SDK for their API