Subject Re: AW: AW: [firebird-php] Show a Jpg stored as Binary blob with PHP IT WORKS NOW!
Author Lester Caine
> NOW IT WORKS!
> The last problem was a "windows" different fopen mode thing:
> On windows-system i needed: $FILEID = fopen($TEMPFILE,"wb");
> the b in "wb" forces PHP to open the file in binary-mode ...

> //UNIX:
> $FILEID = fopen($TEMPFILE,"w");
> //WINDOWS:
> // $FILEID = fopen($TEMPFILE,"wb");

Gerhard - that is the sort of useful stuff that is nice to
see - TA :)

--
Lester Caine
-----------------------------
L.S.Caine Electronic Services