note 59341 added to function.stream-filter-append
| From: | cuervo_4762 at NOSPAM dot yahoo dot com | Date: | Sat, 03 Dec 2005 17:04:14 +0000 |
| Subject: | note 59341 added to function.stream-filter-append | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-99525@lists.php.net to get a copy of this message | ||
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
----
Manual Page -- http://www.php.net/manual/en/function.stream-filter-append.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+59341
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+59341&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+59341&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+59341&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+59341&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+59341&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+59341&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+59341&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+59341&report=yes
Search -- http://master.php.net/manage/user-notes.php