Hi, I'm having problems reading and writing binary files using PHP, can it be that these functions are not binary safe? What happens is that I have an image on disk, and when I try to read it with readfile() (also tested fpassthru, fopen/fgets and include, only include() works ) the file is closed prematurely. This does not happen with textfiles. ALso, when trying to write a binary file, the result is also incomplete. I'm using OpenSA 1.0b2 with the PHP bugfix on Windows 2000 Professional (pre release.. don't ask :) Has anyone else seen this? regards, Auke van Slooten http://www.muze.nl/ -- This is The OpenSA Project's mailing list. For more information, please visit the project's web site at http://www.opensa.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED]
