ID: 14770 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Documentation problem Operating System: Windows 98SE PHP Version: 4.1.0 Assigned To: yohgaki New Comment:
As per my first post ;) ... Yes, 4.2.0, and yes on Linux. I'm not the original reporter, I can't update this bug's fields. I have to ask why .phps won't be used. It's -very- convenient and well established in the community. What is as simple using show_source()? At present all I had to do was make a symlink to my source with .phps as the extension. Irrespective, my source is plain english, no special chars involved, etc. Previous Comments: ------------------------------------------------------------------------ [2002-04-25 19:29:33] [EMAIL PROTECTED] After document is updated I'll take a look at output buffering code. (If there is problem here, it should be fixed) David, Did you tested with 4.2.0? What is your OS? Please update Version and OS field, thanks. ------------------------------------------------------------------------ [2002-04-25 19:20:15] [EMAIL PROTECTED] 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. ------------------------------------------------------------------------ [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) ------------------------------------------------------------------------ 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