Posted by yawnmoth on 09/27/83 11:47
lawrence k wrote:
> <snip>
> It's curious, but fsocketopen takes forever. It's basically unuseable
> for me. It brings the site to a standstill. My code is taken straight
> from an example on www.php.net:
>
> <snip>
>
> while (!feof($fp)) {
> // echo fgets($fp, 128);
> }
> fclose($fp);
> }
>
The file pointer never gets to the end of the file because its never
incremented. As such, try uncommenting out the fgets.
Navigation:
[Reply to this message]
|