You cannot have chr(0) in filenames

Martin Straka wrote:

Hi,

Is somewhere documented that everything after NULL (0x00 %00) character
is ignored for example in functions include, fopen etc?

<?
 $a = "/etc/passwd".chr(0).".inc";
 include($a);
?>

Martin Straka


-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to