ID: 30999 Updated by: [EMAIL PROTECTED] Reported By: kkoehler at comcast dot net -Status: Open +Status: Feedback Bug Type: *URL Functions Operating System: Linux mis 2.4.21-4.EL #1-Red Hat PHP Version: 5.0.2
Previous Comments: ------------------------------------------------------------------------ [2004-12-06 23:53:56] [EMAIL PROTECTED] Please answer the question: > Which SAPI interface, and what Apache configuration are you using? there's a known issue where you can misconfigure the apache2filter and it will break with symptoms like this: switching to the apache2handler is the best fix, or else remove the "SetOutputFilter" statements for PHP from the apache configuration. ------------------------------------------------------------------------ [2004-12-06 20:29:07] kkoehler at comcast dot net We rolled back to 4.3.8 and it is doing it there also. But I'm running 4.3.8 locally on Windows XP and it is not happening. So it might be something with the OS??? This is a major issue so any help would be appreciated. ------------------------------------------------------------------------ [2004-12-06 19:39:43] kkoehler at comcast dot net Here is test code using smarty. You'll probably have to change the configs a bit: Template: <html> <body> <form name="articulate" method=POST action="testa.php"> <a href="javascript:document.articulate.submit()" class="listlink2"><img src="/images/save.gif" border="0"></a> <table> <td class="warning" align="left"> <textarea name="testdesc" cols="94" rows="17" >{$testdesc}</textarea> </td> </tr> </table> </td> </table> </center> </form> </body> </html> PHP code: <?php ob_start(); define('SMARTY_DIR', 'C:\Program Files\Apache Group\Apache2\htdocs\Smarty-2.6.6/libs/'); require(SMARTY_DIR . 'Smarty.class.php'); function getSmarty() { $smarty = new Smarty; $smarty->template_dir = 'templates/'; $smarty->compile_dir = 'templates_c/'; $smarty->config_dir = 'configs/'; $smarty->cache_dir = 'cache/'; return $smarty; } session_start(); $smarty = getSmarty(); print_r($_POST); $test = $_POST['testdesc']; $smarty->assign('testdesc', $test); $smarty->display('testa.tpl'); ob_end_flush(); ?> ------------------------------------------------------------------------ [2004-12-06 18:57:05] kkoehler at comcast dot net Apache 2.0.46 cryus-sasl-gssapi-2.1.15-3 ------------------------------------------------------------------------ [2004-12-06 18:43:47] [EMAIL PROTECTED] Which SAPI interface, and what Apache configuration are you using? ------------------------------------------------------------------------ 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/30999 -- Edit this bug report at http://bugs.php.net/?id=30999&edit=1