image and file uploading

Thread Solved

Join Date: Nov 2006
Posts: 44
Reputation: amithasija is an unknown quantity at this point 
Solved Threads: 0
amithasija amithasija is offline Offline
Light Poster

image and file uploading

 
0
  #1
Feb 7th, 2007
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,
Reply With Quote Quick reply to this message  
Join Date: Oct 2005
Posts: 523
Reputation: pty is on a distinguished road 
Solved Threads: 37
pty's Avatar
pty pty is offline Offline
Posting Pro

Re: image and file uploading

 
0
  #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 Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:




Views: 3545 | Replies: 1
Thread Tools Search this Thread



Tag cloud for Ruby
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC