• Post Reply Bookmark Topic Watch Topic
  • New Topic

Save A Image From URL To BLOB

 
anand phulwani
Ranch Hand
Posts: 242
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Ranchers,

i wish to save a Image from a URL to mysql BLOB database,
have tried this but this doesnt work,



although
1)i have successfully saved the file from the URL to disk,
2)and then inserted into the BLOB type in mysql database

but i wish to directly add it into BLOB without saving it to disk.
 
alban maillere
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello anand,

hum... the code here does not write anything on the disk

It's called a file and a file can be basically anywhere(memory, http, ftp... or hard drive )
 
anand phulwani
Ranch Hand
Posts: 242
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know,i have just written the code to retrieve,
i was willing to know how to put that in MySQL DB without writing it to disk,

Thanks For That,
But The Problem Is Solved Now!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!