ID: 19157 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: No Feedback +Status: Open Bug Type: Session related Operating System: w2k server PHP Version: 4.2.2 New Comment:
I tried your suggestion and it did not work. I have setup a Javascript redirect, this is working fine on every redirect situation we encounter. I'm not using the Location: at this time. We have other code which uses Javascript so the client will have to have java scripting turned on for the other Javascripting we use. Previous Comments: ------------------------------------------------------------------------ [2002-10-20 23:19:50] [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-09-29 11:11:13] [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 Please keep in mind that since 4.2.0 release, PHP has output buffer enabled. This is what allows you to send header('Location: '); after the echo without getting any warnings. If you want the pre 4.2.0 behaviour, turn off output buffering inside your php.ini. ------------------------------------------------------------------------ [2002-09-26 16:51:05] [EMAIL PROTECTED] This is a very simple script : <?php session_start(); echo 'foo'; header('Location: somewhere.php'); exit(); ?> Normaly it have to show 'foo' and crash beacaus of headers allready sent. It doesn't. I experience this with PHP 4.2.0, 4.2.1, 4.2.3 on apache 1.3.26 (with modssl) on both RedHat 6.2 and Debian 3.0. Configuration was register_globals Off With the same configuration, I have the "good crash" under PHP 4.1.2 and decided to downgrade. ------------------------------------------------------------------------ [2002-09-25 11:06:19] [EMAIL PROTECTED] I sent comments on Monday and don't see them posted. I will try to re-state I tried this latest php4 and it didn't resolve the problem. I recieved several errors stating that it could find some of the dll's I checked the extensions & the dll's everything was there and the path's where setup correctly in the php.ini. I then used the extension folder from the previous install and didn't get this error but it still didn't work. http://snaps.php.net/win32/php4-win32-latest.zip Shelley ------------------------------------------------------------------------ [2002-09-23 07:58:50] [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 ------------------------------------------------------------------------ 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/19157 -- Edit this bug report at http://bugs.php.net/?id=19157&edit=1