Perl Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesPerl Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 7th, 2001, 02:22 AM
bigbirdie bigbirdie is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Location: Toronto
Posts: 0 bigbirdie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Cool

I thunk me blobed out mateys !

My question is , how do you store , where do you store, how do you retrieve, and display images files. Ok i've got the blob field happening in mysql ok. Next i actually have the code (using input's file) to upload the file - and i know the basic logic behind BLOBS. (ie you must read it into as a file, save the info to an array, save the array to a file, retrieve the array, read it into a file, display it ,etc , BUT HOW , the syntax , man ? i have searched many hours, but PHP really bums me out, - because i can't use the command in perl, and i heard php is flakey (i know this is a pro PHP site ) anyhoooo, Anybody have a complete script that i can see ? or Snippets

Thanx me mateys ! - throw me a bone here

Reply With Quote
  #2  
Old April 7th, 2001, 09:49 AM
pieux pieux is offline
Seņor Member
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Aug 2000
Posts: 1,156 pieux User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 17 m 59 sec
Reputation Power: 10
Are you looking to actually store the images in your database? I usually only store a URL to the image and store the images on the server. This will make for a much more compact (read: faster) database.
__________________
Michael

Reply With Quote
  #3  
Old April 7th, 2001, 05:25 PM
bigbirdie bigbirdie is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Location: Toronto
Posts: 0 bigbirdie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Talking Blob storage

Michael, thanx for your input, you are not the only one that i have read , that suggests the idea.

I am now starting to be convinced to store the url instead. HMMM, i am now only curious on how to store an ie. jpg file using the (semi code) "<input type=file>" in a mysql database using perl .

If anybody has the code, could you post it, for posterity.

Thanx

bb

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPerl Programming > blobs


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT