file_get_contents() Connection timed out problem
<p>i use <code>file_get_contents()</code> to get dinamic data.
here is my script...</p>

<pre><code>$str = file_get_contents("http://cba.am/");
some script here...
</code></pre>

<p>it works fine for a long time, but now it returns <code>Connection timed out</code>.</p>

<p>and what is strange, when i run the script from local server, it works fine.</p>

<p>could you tell me why, and what can i do, to solve this.
maybe i must set the higher timeout time in <code>php.ini</code>?</p>

<p>Thanks</p>
