PHP file_get_contents() problem
<p>I tried to sent an SMS using an API with file_get_contents() in PHP.</p>

<p>Eg.</p>

<pre><code>file_get_contents("http://testsmssite/SMS.php?username=xx&amp;password=ccc&amp;message=MESSAGE&amp;numbers=1111111111&amp;sender=11111");
</code></pre>

<p>In local machine it works well.</p>

<p>If i Put it in to server[SERVER A] its not working.If i change the code
ie.
<code>file_get_contents("http://google.com");</code> it works fine in both server and local.</p>

<p>if i put this page ie</p>

<pre><code>file_get_contents("http://testsmssite/SMS.php?username=xx&amp;password=ccc&amp;message=MESSAGE&amp;numbers=1111111111&amp;sender=11111");
</code></pre>

<p>in to another server[SERVER B] it works fine.</p>

<p>If it is any problem with my [SERVER A] then how it open google?</p>

<p>Can any one help me to fix this issue ?</p>
