PHP Send SMS with SMS Gateway

How to send SMS via SMS Gateway in PHP.I found the sms gateway to do this.But it is gives only 25 free sms per account.But you can create email account and register the following web site and send sms.Only you have to use simple function and call to it with passing parameters.
Here is a web site to register free.
After get API Key and Account name from your account dashboard.Go to,
1-My Services.
2-Click view button of the right side.
3-Click Setting tab.
4-You can view API Key and Account name under the API Setting.
Following diagram will show how this process is working.
SMS Process
This is the function.Copy and run it.

Other SMS Gateways.