#23278 [NEW]: safe_mode too strict at show_source()

From: Date: Sat, 19 Apr 2003 11:03:01 +0000
Subject: #23278 [NEW]: safe_mode too strict at show_source()
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-37895@lists.php.net to get a copy of this message
From: adrian at planetcoding dot net Operating system: SuSE Linux 8.1 w/ Confixx 2 pro PHP version: 4.3.1 PHP Bug Type: Unknown/Other Function Bug description: safe_mode too strict at show_source() 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 bug report at http://bugs.php.net/?id=23278&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=23278&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=23278&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=23278&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=23278&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=23278&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=23278&r=support Expected behavior: http://bugs.php.net/fix.php?id=23278&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=23278&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=23278&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=23278&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23278&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=23278&r=dst IIS Stability: http://bugs.php.net/fix.php?id=23278&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=23278&r=gnused

« previous php.bugs (#37895) next »