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:
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
On Mon, 6 Oct 2003, Martin Straka wrote:
Is somewhere documented that everything after NULL (0x00 %00) character
is ignored for example in functions include, fopen etc?
Interestingly, no, it's not documented in the manual (at least I couldn't
find any official documentation on NULL terminated
On Mon, 2003-10-06 at 11:29, Mark Charette wrote:
On Mon, 6 Oct 2003, Martin Straka wrote:
Is somewhere documented that everything after NULL (0x00 %00) character
is ignored for example in functions include, fopen etc?
Interestingly, no, it's not documented in the manual (at least I
On 6 Oct 2003, Robert Cummings wrote:
Strings in PHP are binary safe and thus do not rely on null temrination.
You are, of course, right (just a brainfart on my part ...).
There are a number of functions that depend on null termination of
strings; handing a string with embedded nulls in it to
Hi,
On Mon, 6 Oct 2003, Mark Charette wrote:
Strings in PHP are binary safe and thus do not rely on null temrination.
You are, of course, right (just a brainfart on my part ...).
There are a number of functions that depend on null termination of
strings; handing a string with embedded
* Thus wrote Martin Straka ([EMAIL PROTECTED]):
Hi,
On Mon, 6 Oct 2003, Mark Charette wrote:
Strings in PHP are binary safe and thus do not rely on null temrination.
You are, of course, right (just a brainfart on my part ...).
There are a number of functions that depend on null
Curt Zirzow wrote:
Some functions are documented as binary safe, i'm not entirely sure
what php's policy is on noting if a function is binary safe or not.
I believe for some, it states in the manual. Something like this
function became binary safe as of PHP version ___.
--
Burhan Khalid
8 matches
Mail list logo