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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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?

Thanks,

Richie

=====
Richie Duggan
Computer Science IV
University College Cork
email : dugganr(at)student(dot)cs(dot)ucc(dot)ie
richie_dug(at)yahoo(dot)com
Homepage :
http://student.cs.ucc.ie/01/dugganr/index.html

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/

Browse pgsql-admin by date

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