Date: 04/28/98
- Next message: doussot <email protected>: "[PHP-DEV] Bug #323: Warning 'palloc' redefined"
- Previous message: ssb: "[PHP-DEV] CVS update: php3"
- Next in thread: Zeev Suraski: "Re: [PHP-DEV] Bug #322: Header function works not correctly if include file contains trailing lines"
- Reply: Zeev Suraski: "Re: [PHP-DEV] Bug #322: Header function works not correctly if include file contains trailing lines"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: andreas.schmitter <email protected>
Operating system: AIX
PHP version: 3.0 Release Candidate 4
PHP Bug Type: Other
Bug description:
Description:
If an include file contains a trailing line the
function header("Location: xyz.html") does not redirect
to the page xyz.htm
--------------------------------------------------------
test.php3
<?
include("./globals.inc");
$str=" xxx ";
$x=remove_spaces($x);
header("Location: xyz.html");
?>
--------------------------------------------------------
globals.inc:
<?
function remove_spaces($str) {
$str=ereg_replace("^ *","_",$str);
$str=ereg_replace(" +$","_",$str);
return $str;
}
?>
------------------------------------------------------
./configure --with-apache=/u/users/zue/src/apache_1.2.6_php3 --with-oracle=/home
/oracle/product/7.3.2.2 --with-config-file-path=/u/users/zue/www/httpd_8083/etc
--enable-debug=no
-------------------------------------------------------
Additional Oracle Support (sql-based interface)
- Next message: doussot <email protected>: "[PHP-DEV] Bug #323: Warning 'palloc' redefined"
- Previous message: ssb: "[PHP-DEV] CVS update: php3"
- Next in thread: Zeev Suraski: "Re: [PHP-DEV] Bug #322: Header function works not correctly if include file contains trailing lines"
- Reply: Zeev Suraski: "Re: [PHP-DEV] Bug #322: Header function works not correctly if include file contains trailing lines"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

