Morten,
the reason for this is outlined here: http://us2.php.net/fread.
Network streams are only made available to fread() one packet at a
time. Doing a while loop is the recommended way of getting around
this.
On Tue, 12 Oct 2004 23:44:43 +0100, Morten Pedersen
<[EMAIL PROTECTED]> wrote:
>
Good evening,
Let me explain my problem. See i have few php experience, i do use
includes and other cool PHP features and can find programing and mistype
errors rapidly. Unfortunently, i work alot and don't currently have the
time to continu some tutorials I wanted to finish.
As of now, I am
where can I find a tutorial that can help me use mysql
to update data 'dynamically'(content, URLs'
etc.)contained in an html table, instead of going into
the html code itself?
=
"forget your lust for the rich man's gold. All that you need, is in your soul. You can
do th
I'm attempting to download a webpage (http://finance.yahoo.com/q?s=erts), using the
following code
$fp=fopen($quote_url,'rb');
$contents=fread($fp,50);
fclose($fp);
but it only downloads part of the webpage (1460 bytes to be exact). Putting the fread
inside a while loop and readin
Yes, I restart it every time. Sometimes I stop, wait, and then start it
just to be sure. To make a long story short, I had other problems and
someone helped me with them and suddenly it works!! Go figure. It might
have been a stack of problems affecting other parms that made it not work
but I a