Hi: I want store files in PostgreSQL and retrieve it without put files in a temp directory. For example, PHP can create image files with: header("Content-type: image/gif"); and call this file image.php ... each time somebody calls this file, PHP must create the image. I need do the same but with a file stored in a database. For example, I want store a PDF file in a database and could get it with a link. Thanks a lot. Xevi. _______________________________________________________________ Copa del Mundo de la FIFA 2002 Disfruta en vídeo de los mejores momentos desde tu ordenador. http://fifaworldcup.yahoo.com/fc/es/