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 or flat)
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/

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-2014 The PostgreSQL Global Development Group