file_get_contents() problem, works fine in Local not in server
<p>I am trying to send an SMS using an API.</p>

<p>Using <code>file_get_contents()</code>, the message is sent sucessfully from my local machine, but it's not working on my server. I get this warning:</p>

<pre><code>Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: No address associated with hostname in /usr/home/....
</code></pre>

<p>How can I fix this?</p>
