| 1. Use MEDIUMBLOB datatype in mysql db. 2. $filep = fopen($filepath, 'r'); $filecontent = fread($filep , filesize($tmpName)); $filecontent = addslashes($filepcontent); fclose($filep); 3. Insert into Table_name values('$filecontent') Regards, Md. Iqbal Hossain http://www.SabaSafa.com Do you need a coder? --- On Sat, 5/31/08, Gangadhara Prasad <lampprogramming@...> wrote: From: Gangadhara Prasad <lampprogramming@...> |