Re: null character - file related function
| From: | Marek Kilimajer | Date: | Mon, 06 Oct 2003 15:24:16 +0000 |
| Subject: | Re: null character - file related function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-165185@lists.php.net to get a copy of this message | ||
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