PHP function to implement sending SMS
<p>I am trying to implement sending SMS for this project I am working on using PHP. Note: I don't mean sending free SMS with the carrier and other things, I actually contacted an SMS company that provided a link as such
<code>www.smssender.com?username=myusername&amp;pass=mypass&amp;message=mymessage&amp;recipient=phonenumber</code>.</p>

<p>What function in PHP can be used to send such a request to the server API, and also get a response? Here is what I want (pseudocode):</p>

<pre><code>function Sendsms(){
  add details to sting
  send url to sms server with the parameters
  get response and display
}
</code></pre>
