#19324 [Com]: show PHP source on client's browser

From: Date: Wed, 25 Sep 2002 08:56:02 +0000
Subject: #19324 [Com]: show PHP source on client's browser
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-20266@lists.php.net to get a copy of this message
ID: 19324 Comment by: wiseguy@ms10.url.com.tw Reported By: wiseguy@ms10.url.com.tw Status: Open Bug Type: Output Control Operating System: Solaris8 x86 PHP Version: 4.2.3 New Comment: When I use : header('Location: xxx.php?a=123&b=456'); (1) use header() function (2) the URL append GET string then php file show the source on client's browser. But after reload, the PHP just normal run. Previous Comments: ------------------------------------------------------------------------ [2002-09-09 20:54:05] wiseguy@ms10.url.com.tw After I upgrade PHP from v4.2.2 to v4.2.3, my system actually show PHP source on client's browser ! It never arise in v4.2.2 , and I haven't change my configure and php.ini . The case is not always arising. It should arise when I click the links to switch the PHP pages fast. =========================================================== CC=gcc \ CFLAGS="-O6 -mcpu=pentiumpro" \ ./configure \ --enable-track-vars \ --enable-inline-optimization \ --enable-mbstring \ --enable-ctype \ --disable-wddx \ --disable-debug \ --disable-experimental-zts \ --with-xml \ --with-mcrypt=/usr/local \ --with-dom=/usr/local \ --with-zlib-dir=/usr/local \ --with-mysql=/usr/local/mysql \ --with-iconv=/usr/local \ --with-apxs=/usr/local/apache/bin/apxs \ --prefix=/usr/local ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19324&edit=1

« previous php.bugs (#20266) next »