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

From: Date: Thu, 26 Sep 2002 22:27:48 +0000
Subject: #19324 [Fbk]: show PHP source on client's browser
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-20492@lists.php.net to get a copy of this message
 ID:               19324
 Updated by:       sniper@php.net
 Reported By:      wiseguy@ms10.url.com.tw
 Status:           Feedback
 Bug Type:         Output Control
 Operating System: Solaris8 x86
 PHP Version:      4.2.3
 New Comment:

Could you please try using this line to compile:

rm config.cache && ./configure --with-apxs=/usr/local/apache/bin/apxs
&& make clean && make

And then try seeing if this happens with such 'pure' build?



Previous Comments:
------------------------------------------------------------------------

[2002-09-25 22:59:00] wiseguy@ms10.url.com.tw

apache 1.3.26

------------------------------------------------------------------------

[2002-09-25 22:48:14] sniper@php.net

With which apache version it doesn't work?


------------------------------------------------------------------------

[2002-09-25 21:29:57] wiseguy@ms10.url.com.tw

I compiled php without any CFLAGS, showing source still 
arisen .
My gcc version is 3.2 .

PS: but the situation doesn't arise on "APACHE 2.x + PHP" .

------------------------------------------------------------------------

[2002-09-25 09:44:54] sniper@php.net

Could you try compiling PHP without using ANY predefined CFLAGS?  ie.
only run the configure with your options.


------------------------------------------------------------------------

[2002-09-25 03:56:02] wiseguy@ms10.url.com.tw

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.

------------------------------------------------------------------------

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/19324

-- 
Edit this bug report at http://bugs.php.net/?id=19324&edit=1



Thread (28 messages)

« previous php.bugs (#20492) next »