note 12513 deleted from function.fwrite by jimw
| From: | jimw@php.net | Date: | Fri, 19 Oct 2001 18:06:37 +0000 |
| Subject: | note 12513 deleted from function.fwrite by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-19170@lists.php.net to get a copy of this message | ||
PERL programers like me, WATCH OUT!!
If you have this:
"Supplied argument is not a valid File-Handle resource ", even if seems all alright.
You probaly using "fopen($file,mode)|| die;" but this a realy good way to mess up your
pointer. Instead you could use " or die;" in your contruction or check with some
'if'.
Please dont't use "||", it has some precedence from the beyond and you can go nuts
trying to find "What the f. is happening?". Trust me.