Hello,
I'm developping a new joomla component, so i want to store pictures in database table in field type : blob. i'm wondery how to proceed to do this.
I'm using this to get file from the form :
$file = JRequest::getVa r( 'img2', null, 'files', 'array' );
jimport('joomla .filesystem.fil e');
$filename = JFile::makeSafe ($file['img2']);
$src = $file['tmp_name'];
$image = mysql_escape_st ring(file_get_c ontents($file['img2']['tmp_name']));...