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.
From: Richie Duggan [mailto:richie_dug(at)yahoo(dot)com]
Sent: Thursday, January 18, 2001 6:51 AM
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?
Computer Science IV
University College Cork
email : dugganr(at)student(dot)cs(dot)ucc(dot)ie
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
pgsql-admin by date
|Next:||From: Dirk Heinrichs||Date: 2001-01-25 17:45:11|
|Subject: Some thoughts on replication|
|Previous:||From: Stephan Szabo||Date: 2001-01-24 18:25:01|
|Subject: Re: OID type creates files that don't go away|