ID: 19175
Comment by: carlmcdade at gmail dot com
Reported By: bjarte at gandtech dot com
Status: No Feedback
Bug Type: Scripting Engine problem
Operating System: Windows 2000
PHP Version: 4.2.2
New Comment:
Same problem with PHP 5.2.5 on Windows XP.
Previous Comments:
------------------------------------------------------------------------
[2005-10-18 01:35:41] el_flipis at yahoo dot es
I'm using PHP 5.0.5 and i experience the same problem. This code:
$desc = fopen("temp.php","w");
fwrite($desc,"<?php".$cphp."?>");
ob_start();
highlight_file("temp.php");
$code_ret = ob_get_contents();
ob_end_clean();
fclose($desc);
unlink("temp.php");
echo $code_ret;
stops after a certain lenght of file. I don't know why it happens, i've
tried whith highlight_string() and the result is the very same.
------------------------------------------------------------------------
[2002-09-23 07:59:38] [EMAIL PROTECTED]
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
------------------------------------------------------------------------
[2002-08-29 23:08:35] [EMAIL PROTECTED]
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
------------------------------------------------------------------------
[2002-08-29 12:07:34] bjarte at gandtech dot com
highlight_file() seams to stop after a sertan length, try highlight a
big file to get the bug. The apache server seams to stop data after a
sertan number of bytes.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19175&edit=1