Current location: Hot Scripts Forums » Other Discussions » Database » uploading images


uploading images

Reply
  #1 (permalink)  
Old 05-18-09, 06:21 AM
reshma reshma is offline
Newbie Coder
 
Join Date: Mar 2009
Posts: 38
Thanks: 0
Thanked 2 Times in 2 Posts
uploading images

hi

i want to upload images into my database, either the image directly into the table or the link from where i can download the image when required.it works fine with a text file but image i am unable to do it. can anyone help me out with this.


Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 05-18-09, 07:20 AM
Nico's Avatar
Nico Nico is offline
Community Leader
 
Join Date: Sep 2005
Location: Spain
Posts: 8,074
Thanks: 11
Thanked 88 Times in 83 Posts
For binary data, the field has to be of the type BLOB.

MySQL :: MySQL 5.0 Reference Manual :: 10.4.3 The BLOB and TEXT Types
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
uploading images in a single directory or not? macintosh PHP 15 03-16-08 08:41 AM
Trying to locate a tool to compress images on client side before uploading indianajns Script Requests 7 10-10-06 10:21 PM
Uploading Images Using Forms rockitdev PHP 1 12-08-04 07:50 PM
Uploading multiple images and save to database peterpeter ASP 0 09-07-04 02:00 AM
uploading multiple images mivec PHP 2 03-30-04 12:50 PM


All times are GMT -5. The time now is 10:13 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.