Gossamer Forum
Home : Products : DBMan SQL : Discussion :

Including pdf, gifs, and links

Quote Reply
Including pdf, gifs, and links
I would like to be able to display various file formats in my records. For example, I'd like to have a some text based fields followed by a pdf (or a link to a pdf), a gif image, or may be even an html page with information. Is is possible to save a gif file, for example, with a record. I'm sure it will require the UpLoad MOD I've been seeing. How do I define the field type for gif, pdf, or HTML page.
Does anyone have a working example, that includes gifs, online for me to check out?

Quote Reply
Re: Including pdf, gifs, and links In reply to
Yes...you would need the upload Mod...unfortunately, DBMAN SQL does not come with the file upload capabilities that LINKS SQL has...but you could probably tweak the File Upload Mod for DBMAN using the CGI.pm, strict codes, and writing to your MySQL tables rather than the flat file.

Regards,

Eliot

Quote Reply
Re: Including pdf, gifs, and links In reply to
I'm a little confused. I had a look at the Upload MOD and it appears to write to an /upload directory. Are you saying that I could modify it to say the files in the SQL database instead. Has anyone else done this?

Quote Reply
Re: Including pdf, gifs, and links In reply to
I don't think you would be able to write the files themselves to the database table.

In looking over the mod, it appears that the main differences (maybe the only differences) would be in the modification of sub delete_records and sub modify_record.


JPD
http://www.jpdeni.com/dbman/
Quote Reply
Re: Including pdf, gifs, and links In reply to
HI, JP!

I'm not a programmer and I'm having some problems finalizing my transition dbman/dbman SQL... the one (VERY IMPORTANT) thing that I'm not being able to do is to get the file upload working. I've looked at several articles and programs to help me with that...here are couple, if your are interested.

http://www.hotscripts.com/Detailed/5701.html

http://www.hotscripts.com/Detailed/4478.html

I'm still a bit lost (might be the pressure of being on such a tight deadline)...

Can you help?

Much appreciated!

Quote Reply
Re: Including pdf, gifs, and links In reply to
Hi lubatico
Well at least I'm not the only one lost at this crossroads :) Non programmer also trying to get this upload mod to work!
Apparently it's more efficient not to upload the image to the database http://www.devshed.com/...um4/HTML/000036.html but to do as the file upload mod does although we're going to need help to change it!
If you do get this one working please let me know.

Quote Reply
Re: Including pdf, gifs, and links In reply to
You might try contacting
Chris Croome
chris@webarchitects.co.uk
http://www.webarchitects.co.uk/

Back in May, there is a post indicating Chris had adapted the mod for DBManSQL. (searched for 'file upload' in this forum)

Karen