|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
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
|
|
#3
|
|||
|
|||
|
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 |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Perl Programming > blobs |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|