ID: 14832 Updated by: hholzgra Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Directory function related Operating System: Linux 2.4.8-26mdk i686 PHP Version: 4.1.0 New Comment:
fixed in CVS Previous Comments: ------------------------------------------------------------------------ [2002-01-03 15:01:12] [EMAIL PROTECTED] <?php $fn="/dir1/dir2/filename.txt"; $basename=basename($fn, ".txt"); echo "basename=$basename\n"; echo "fn after=$fn\n"; ?> X-Powered-By: PHP/4.1.0 Content-type: text/html; charset=iso-8859-15 basename=filename fn after=/dir1/dir2/filenametxt $fn ha been corrupted by basename() call. './configure' '--disable-static' '--disable-debug' '--disable-rpath' '--enable-pic' '--enable-inline-optimization' '--prefix=/usr' '--with-zlib' '--with-config-file-path=/etc' '--enable-magic-quotes' '--enable-debugger' '--enable-track-vars' '--enable-safe-mode' '--with-exec-dir=/usr/bin' '--with-regex=system' '--with-versioning' '--enable-sysvsem' '--enable-sysvshm' '--with-mod_charset' '--enable-force-cgi-redirect' '--with-mm' '--enable-trans-sid' '--with-dbase' '--with-filepro' '--enable-yp' '--enable-ftp' '--with-xml' '--with-gettext' <br>[Some modules are external: look for packages php-pgsql,php-mysql,...] ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=14832&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]