Jump to content
Killersites Forums

moshy

New Members
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral

About moshy

  • Rank
    New member
  1. I have stored images on mysql using blob. I want to download the images back to my computer in their original format (Not just displaying them on the web page). How do I do this ? The script for displaying the images on the web page is shown below. How can I modify this code to directly download the images back to my computer ? <?php $link=mysql_connect("localhost","root",""); if(!$link) { die("could not connect:".mysql_error()); } mysql_select_db("media",$link); $que="select imageBlob from images where imageId=10"; //imageBlob- name of the blob data type field in mysql. $ret=mysql
×
×
  • Create New...