On Wed, 11 May 2005 19:54:39 +0200
Andreas Gohr <andi@xxxxxxxxxxxxxx> wrote:
> I found the problem for the above error message. The german manual gives
> it: fpassthru closes the file and thus invalidates the file handle - I
> couldn't find this info in the english manual.
Me neither, I only had a look at the english manual too. So you recommend to
remove the fclose($fp) only?
> I didn't use readfile because it doesn't give an info if the file was opened
> successful.
This is from the PHP manual at http://de.php.net/readfile. It describes
the return value of the function readfile:
"Returns the number of bytes read from the file. If an error occurs, FALSE is
returned"
Don't you think this information is sufficient for this task?
> I'm not sure if this fixes your random numbers problem as well. Please try and
> report back.
I have no news on this topic yet. It needs still some investigation.
Best Regards
Matthias
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist