ID: 14770 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open -Bug Type: Scripting Engine problem +Bug Type: Documentation problem Operating System: Windows 98SE PHP Version: 4.1.0 New Comment:
This problem probably will not be fixed. 1) It does not worth the effort. 2) There is show_source() 3) phps does not work under certain encodings. Use show_source() instead... I made this report as Documentation problem to encourage use of show_source(). Someday, when ZendEngine became fully i18n, someone may care to fix phps. Previous Comments: ------------------------------------------------------------------------ [2002-04-25 18:16:06] [EMAIL PROTECTED] Setting output_buffering to anything over 16386 (which by the way is the magic number of bytes that wget/lynx fetch, breaks all attempts at fetching the source. Note, the php script itself still performs fine. ------------------------------------------------------------------------ [2002-04-25 17:59:56] [EMAIL PROTECTED] Setting output_buffering=0 allows Mozilla to get the full source every time. Setting it to 1 breaks it every time. Setting it to 2+ yields random results. Between no truncation and several lines of truncation (Mozilla). The curious part of this is that lynx and wget always fetch the same number of bytes every time. ------------------------------------------------------------------------ [2002-04-25 17:49:53] [EMAIL PROTECTED] Disabling zlib.output_compression yields full source in Mozilla but both lynx and wget are still missing the end chunk (last two lines are truncated) ------------------------------------------------------------------------ [2002-04-25 17:27:04] [EMAIL PROTECTED] Duplicated on Linux/Apache 1.2.23 with PHP 4.2.0. With output buffering enabled, Mozilla pops up 'document has no data', with output buffering disabled, the source is almost all viewable. That is to say, the last two lines are missing, the generated html is truncated. The source I'm trying to render is 2344 bytes long. ------------------------------------------------------------------------ [2002-03-10 01:10:01] [EMAIL PROTECTED] Apache 1.3.19 with PHP 4.1.0 has it also on the Windows platform ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/14770 -- Edit this bug report at http://bugs.php.net/?id=14770&edit=1