Hey Ilia, Does this prevent opening of things like block and character special files? If yes, then let's change it to explicitly check for directories instead, as there are bound to be people out there that want to open things like /dev/hda1 (for example).
--Wez. On 28/10/02, "Ilia Alshanetsky" <[EMAIL PROTECTED]> wrote: > Fixed bug #20110. > + if (fstat(fileno(fp), &st) == -1 || !S_ISREG(st.st_mode)) { -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php