Re: VS: [PHP] fclose() problem
| From: | Peter Lewis | Date: | Fri, 07 Jul 2000 06:36:12 +0000 |
| Subject: | Re: VS: [PHP] fclose() problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-5326@lists.php.net to get a copy of this message | ||
On Fri, 7 Jul 2000, Matti Simperi / SWP wrote:
Your are correct, my mistake in the post.
I am (and rechecked) using "r" and it (still) doesn't work.
Sorry for this confussion.
Really, honestly, truely I did read the post about 4 times BEFORE I sent
it and missed the typo complely.
An adage in publishing is NEVER proof read your own work because you only
see what you expect.
-------
Regards
Peter
pjlewis@goldweb.com.au
-------
> -> 2 $file=fopen($name,"w");
>
> It should be r in second argument not w, because you are reading to file,
> not writing.
>
>
> Best Regards,
> Matti Simperi
>
>
The mouth of a righteous man is a well of life: but violence covers the
mouth of the wicked.