[PHP] Re: Binary Blob = 65535 byte -> fwrite to a file = 7680000 Byte, why?

2003-06-26 Thread Gerhard Knapp
k this performs better. > > Cheers, > Catalin > > "Gerhard Knapp" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > hi, perhaps someone can help me ... > > > > i store jpgs in a database, then i read them out > > and write them t

[PHP] Binary Blob = 65535 byte -> fwrite to a file = 7680000 Byte, why?

2003-06-26 Thread Gerhard Knapp
hi, perhaps someone can help me ... i store jpgs in a database, then i read them out and write them to a tempfile, the sizeinformation says, the binary blob = 65.535 bytes, but the jpg file has then 768.000 bytes, horrable do dl ... $TEMPFILE = tempnam("./","TMP");

[PHP] Binary data 65 kb have then as file: 536 KB ??? fwrite ..

2003-06-26 Thread Gerhard Knapp
hi, perhaps someone can help me ... i store jpgs in a database, then i read them out and write them to a tempfile, the sizeinformation says, the binary blob = 65.535 bytes, but the jpg file has then 768.000 bytes, horrable do dl ... i expect that i read 65 kb and write 65 kb, thats all ... .