note 59341 deleted from function.stream-filter-append by nlopess
| From: | nlopess@php.net | Date: | Sat, 03 Dec 2005 19:15:12 +0000 |
| Subject: | note 59341 deleted from function.stream-filter-append by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-99530@lists.php.net to get a copy of this message | ||
Note Submitter: cuervo_4762 at NOSPAM dot yahoo dot com
----
Sorry guys I suck didn't look at the whole example but there is another error.
In the second real line
stream_filter_append($fp, "string.rot13", STREAM_FILTER_WRITE);
the third parameter should be enclosed in some kind of quote
like so
stream_filter_append($fp, "string.rot13", 'STREAM_FILTER_WRITE');
or
stream_filter_append($fp, "string.rot13", "STREAM_FILTER_WRITE");
unless it has allready been defined as a constant in your script
the janitor
kiko