blobs didn"t work??

blobs didn"t work??

am 29.06.2003 03:15:46 von utomo restu

dear all,

spacialy tahnk's to cornelia,

> Hi utomo
>
> Try it this way:
> Call your function detail.php from the -TAg in your program and
> don't use print $img here
> Get the oid of the image that you want display.
>
>

> detail.php
> > ...
> pg_loreadall($ofp);
> pg_loclose($ofp);
> pg_exec($dbh, "END");
> }
> ?>

where i must put command ???
if beetwen
detail.php

pg_loreadall($ofp);
pg_loclose($ofp);
pg_exec($dbh, "END");
}
?>

from the script, i still found error....
please help me......
thank's

best regards

utomo
indonesia
--
______________________________________________
http://www.linuxmail.org/
Now with e-mail forwarding for only US$5.95/yr

Powered by Outblaze

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Re: blobs didn"t work??

am 29.06.2003 14:10:31 von Cornelia Boenigk

Hi utomo

> where i must put command ???

I am talking of two files. The first file is a normal php/html file
where you place the tag to display the images. This file is
calling the display routine in the second file within the -tag.

http://www.pgsql.info/dpunkt/showsource.php?datei=images.php
is an example for the file with the tag. It calls the display
routine 'bildzeigen.php' with the oid as first parameter ($bild
contains the oid):

echo ' '.$zeile["htmlstr"].'>';

http://www.pgsql.info/dpunkt/showsource.php?datei=bildzeigen .php
is the routine which displays the image, called from the in the
above file.

http://www.pgsql.info/dpunkt/images.php is the working example.

I hope this makes it clear.

Regards
Conni


---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo@postgresql.org)