Re: [PHP] null character - file related function

2003-10-06 Thread Martin Straka
why the 0x00 is not? $a = "http://xxx/test?a=aaa".chr(1).chr(2).chr(0)."bbb"; include($a); (it is requesting: http://xxx/test?a=aaa\x01\x02) example 2: $a = "1234 abc".chr(1).chr(0)."def"; $b = escapeshellcmd($a); echo $b; [$b is "1234 abc

[PHP] null character - file related function

2003-10-06 Thread Martin Straka
Hi, Is somewhere documented that everything after NULL (0x00 %00) character is ignored for example in functions include, fopen etc? Martin Straka -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php