[PHP-DEV] PHP 4.0 Bug #9462: NULL bute eats rest of string From: tharbad <email protected>
Date: 02/26/01

From: tharbad <email protected>
Operating system: Linux
PHP version: 4.0.4pl1
PHP Bug Type: Filesystem function related
Bug description: NULL bute eats rest of string

I'm not sure if this is a bug or feature, comments are apreciated.

http://bugs.horde.org/show_bug.cgi?id=621

Example:
<quote>
include($string . ".php");
</quote>
with "magic_quotes_gpc = On" (php.ini) calling test.php?string=test%00
result: Warning: Failed opening 'test\0.php' for inclusion
with "magic_quotes_gpc = Off", same request
result: Warning: Failed opening 'test' for inclusion

-- 
Edit Bug report at: http://bugs.php.net/?id=9462&edit=1

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>