html display images without intermediate file

Поиск
Список
Период
Сортировка
От paul@mybofy.net
Тема html display images without intermediate file
Дата
Msg-id 007D0FCB-F62D-4485-8A24-BEED4102A912@mybofy.net
обсуждение исходный текст
Ответы Re: html display images without intermediate file
Список pgsql-php

Bonjour
code working :
$link = pg_Connect("host=localhost dbname=... user=... password='...'");
$res = pg_query($link, "select miniature  from photo ");
$numrows = pg_numrows($res);
for($ri = 0; $ri < $numrows; $ri++) {
$row = pg_fetch_array($res, $ri);
$img =  pg_unescape_bytea($row['miniature']);
$fln = "toto".$ri.".jpeg";
file_put_contents($fln, $img);
echo "<img src='".$fln."'/>";
}
How to do without the  intermediate file $fln ?
Merci

В списке pgsql-php по дате отправления:

Предыдущее
От: Archana K N
Дата:
Сообщение: Re: Data missing from table........
Следующее
От: Vincent
Дата:
Сообщение: Re: html display images without intermediate file