User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Ruby section within the Web Development category of DaniWeb, a massive community of 426,400 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,299 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Ruby advertiser: SELL YOUR PRODUCT TODAY !

image and file uploading

Join Date: Oct 2005
Location: Manchester, UK
Posts: 482
Reputation: pty is on a distinguished road 
Rep Power: 3
Solved Threads: 33
pty's Avatar
pty pty is offline Offline
Posting Pro in Training

Re: image and file uploading

  #2  
Feb 7th, 2007
Originally Posted by amithasija View Post
hhey any body knows how to upload a file or image in database and retrieve it,i know i have to use file column and rmagcik but dont know how to apply them,can anybody tell me step by step implementation.

thanx in advance,



This tutorial explains how (I presume you're using rails and not radicore or something else)

If I were you I'd only store the location of the file in the database and store teh actual file on the filesystem - it will help your database performance.
Note to self... pocket cup
Reply With Quote  
All times are GMT -4. The time now is 1:18 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC