#23278 [Opn->Bgs]: safe_mode too strict at show_source()
| From: | sniper@php.net | Date: | Mon, 21 Apr 2003 14:58:00 +0000 |
| Subject: | #23278 [Opn->Bgs]: safe_mode too strict at show_source() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-37975@lists.php.net to get a copy of this message | ||
ID: 23278
Updated by: sniper@php.net
Reported By: adrian at planetcoding dot net
-Status: Open
+Status: Bogus
-Bug Type: Unknown/Other Function
+Bug Type: *General Issues
Operating System: SuSE Linux 8.1 w/ Confixx 2 pro
PHP Version: 4.3.1
New Comment:
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
.
Previous Comments:
------------------------------------------------------------------------
[2003-04-19 06:03:01] adrian at planetcoding dot net
The safe_mode seems to be too strict when using show_source:
PHP can delete a uploaded file which is owned by the webserver, kan
read it w/ fopen or readfile, can do anything with it except of
show_source.
I just get the safe_mode restriction in effect... - message.
If I use fopen and highlight_string, it works fine.
./configure:
'./configure' '--prefix=/usr/share' '--bindir=/usr/bin'
'--libdir=/usr/lib' '--datadir=/usr/share/php'
'--includedir=/usr/include' '--with-apxs=/usr/sbin/apxs'
'--enable-force-cgi-redirect' '--with-config-file-path=/etc'
'--with-openssl' '--with-zlib' '--enable-bcmath'
'--with-bz2'
'--enable-calendar' '--with-curl' '--enable-exif'
'--enable-ftp'
'--with-gd' '--enable-gd-native-ttf' '--enable-gd-imgstrttf'
'--with-gettext' '--with-iconv' '--enable-mbstring'
'--enable-mbregex'
'--with-mcal' '--with-mcrypt' '--with-mhash' '--with-ming'
'--with-mysql' '--with-ncurses' '--with-pdflib'
'--with-readline'
'--enable-shmop' '--enable-sysvsem' '--enable-sysvshm'
'--enable-wddx'
'--enable-versioning' '--with-xml' '--enable-ctype'
phpinfo: http://www.planetcoding-server.net/phpinfo.php
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23278&edit=1