null character - file related function

From: Date: Mon, 06 Oct 2003 15:05:53 +0000
Subject: null character - file related function
Groups: php.general 
Request: Send a blank email to php-general+get-165184@lists.php.net to get a copy of this message
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

« previous php.general (#165184) next »