Re: [PHP-DEV] Re: Overriding PHP file operations - Extended access control

2004-07-21 Thread Wez Furlong
Dunno. Probably depends on your OS. --Wez. On Wed, 21 Jul 2004 14:23:38 -0700, Sara Golemon <[EMAIL PROTECTED]> wrote: > > If you're wondering what kinds of assumptions, the biggest one that > > springs to mind is the (probably now infamous) greedy fread/fgets > > handling, where the behaviour i

Re: [PHP-DEV] Re: Overriding PHP file operations - Extended access control

2004-07-21 Thread Sara Golemon
> If you're wondering what kinds of assumptions, the biggest one that > springs to mind is the (probably now infamous) greedy fread/fgets > handling, where the behaviour is greedy for local files, but packet > based for everything else. > Thanks Wez, I had a lingering suspicion such shortcuts would

Re: [PHP-DEV] Re: Overriding PHP file operations - Extended access control

2004-07-21 Thread Wez Furlong
Yeah, what she said ;) But with one additional note: some places in the streams internals make assumptions by comparing the wrapper for the stream with the address of the plain_files_wrapper, so if you do hook it, you'll either need to poke the methods from your extension or patch the PHP sources