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:[EMAIL PROTECTED]]
Sent: Thursday, January 18, 2001 6:51 AM
To: [EMAIL PROTECTED]
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 : [EMAIL PROTECTED]
             [EMAIL PROTECTED]
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/

Reply via email to