Re: [PHP] null character - file related function

2003-10-06 Thread Burhan Khalid
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 phplis

Re: [PHP] null character - file related function

2003-10-06 Thread Curt Zirzow
* 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 dep

Re: [PHP] null character - file related function

2003-10-06 Thread Martin Straka
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 embedd

Re: [PHP] null character - file related function

2003-10-06 Thread Mark Charette
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 t

Re: [PHP] null character - file related function

2003-10-06 Thread Robert Cummings
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 leas

Re: [PHP] null character - file related function

2003-10-06 Thread Mark Charette
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 terminate

Re: [PHP] null character - file related function

2003-10-06 Thread Marek Kilimajer
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? Martin Straka -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[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