Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - how can used file?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

how can used file?

 Post Reply Post Reply
Author
joud View Drop Down
Newbie
Newbie


Joined: 27 September 2006
Location: Saudi Arabia
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote joud Quote  Post ReplyReply Direct Link To This Post Topic: how can used file?
    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
Back to Top
Scott07 View Drop Down
Groupie
Groupie


Joined: 04 July 2002
Location: United Kingdom
Status: Offline
Points: 43
Post Options Post Options   Thanks (0) Thanks(0)   Quote Scott07 Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
joud View Drop Down
Newbie
Newbie


Joined: 27 September 2006
Location: Saudi Arabia
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote joud Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.