Print Page | Close Window

how can used file?

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Database Discussion
Forum Description: Discussion and chat on database related topics.
URL: https://forums.webwiz.net/forum_posts.asp?TID=22047
Printed Date: 29 March 2026 at 7:49pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: how can used file?
Posted By: joud
Subject: how can used file?
Date Posted: 28 November 2006 at 10:00am
i wannt use file in form that can user attach it. and i will saved to the database.
i wrote the form and insert query, but i wannt show the field of file i didn't know how can i showed?
 
please help me



Replies:
Posted By: Scott07
Date Posted: 30 November 2006 at 11:02am
Saving files to databases, is somewhat troublesome as it differs from platform to platform, firslty are you useing a relations database/object relational or object oriented (as only the second two will work). 
However there is a simpler way than faffing about with the database, why not just plonk the file in some folder somewhere nicley out the way, then save a path to the file in the database ona normal text field, this makes it quite simple.


-------------
http://www.worldsofwar.co.uk - Worlds of War II


Posted By: joud
Date Posted: 02 December 2006 at 4:52am
i define filed in table of the database as object. in the form i used input type file, so i saved the file
i didn't know if what i did it is wrong or true.
know i wannt show the conent of the file and i don't know how
 
about the tow meothd how i can save the file in folder? are you mean downloade the file?if yes how can i do it?
also the save path?
 
thanks



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net