Skip site navigation (1) Skip section navigation (2)

RE: Pictures again

From: "Toma Vailikit" <toma(at)vaisoft(dot)com>
To: <pgsql-admin(at)postgresql(dot)org>
Subject: RE: Pictures again
Date: 2001-01-25 03:38:22
Message-ID: 011ED625F20D0E419B59710A8FF853D9025BCE@svr001.VAISOFT.COM (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
If the files are generally stored in the same place on the filesystem
you shouldn't need to store the path information in the database. Just
the filename. The script can put in the path info. I store images on the
filesystem and my PHP script pulls the "file" field from the database
and the script outputs a:

<img src="/path/to/images/[db field that contains file name]">

I'm sure you can do a similar thing with any script.

-----Original Message-----
From: Richie Duggan [mailto:richie_dug(at)yahoo(dot)com]
Sent: Thursday, January 18, 2001 6:51 AM
To: pgsql-admin(at)postgresql(dot)org
Subject: [ADMIN] Pictures again

I understand now that one must store the pictures on
the filesystem and just specify the path and filename
on the database, how is this done?



Richie Duggan
Computer Science IV 
University College Cork
email : dugganr(at)student(dot)cs(dot)ucc(dot)ie
Homepage :

Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.

pgsql-admin by date

Next:From: Dirk HeinrichsDate: 2001-01-25 17:45:11
Subject: Some thoughts on replication
Previous:From: Stephan SzaboDate: 2001-01-24 18:25:01
Subject: Re: OID type creates files that don't go away

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group