<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1045886" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1045886</link>
    <description></description>
    <language>en</language>
          <item>
    <title>hmm  really a nice post.</title>
    <link>https://www.webmaster-forums.net/web-database-development/create-image-database#comment-1282384</link>
    <description> &lt;p&gt;hmm  really a nice post.&lt;/p&gt;
 </description>
     <pubDate>Fri, 28 Dec 2012 06:13:30 +0000</pubDate>
 <dc:creator>Adsystem</dc:creator>
 <guid isPermaLink="false">comment 1282384 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>great post thanks a lot !!!</title>
    <link>https://www.webmaster-forums.net/web-database-development/create-image-database#comment-1282065</link>
    <description> &lt;p&gt;great post thanks a lot !!!&lt;/p&gt;
 </description>
     <pubDate>Fri, 14 Dec 2012 05:26:29 +0000</pubDate>
 <dc:creator>giffy</dc:creator>
 <guid isPermaLink="false">comment 1282065 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>great post thanks a lot !!!</title>
    <link>https://www.webmaster-forums.net/web-database-development/create-image-database#comment-1282064</link>
    <description> &lt;p&gt;great post thanks a lot !!!&lt;/p&gt;
 </description>
     <pubDate>Fri, 14 Dec 2012 05:26:26 +0000</pubDate>
 <dc:creator>giffy</dc:creator>
 <guid isPermaLink="false">comment 1282064 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>please help,i am doing thesis</title>
    <link>https://www.webmaster-forums.net/web-database-development/create-image-database#comment-1281827</link>
    <description> &lt;p&gt;please help,i am doing thesis in image segmentation in matlab,can any tell me how to  create dataset from an image so that  i can used for clustering purpose..&lt;/p&gt;
 </description>
     <pubDate>Mon, 03 Dec 2012 04:19:55 +0000</pubDate>
 <dc:creator>bharat kumar padhi</dc:creator>
 <guid isPermaLink="false">comment 1281827 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>create table table name (
   </title>
    <link>https://www.webmaster-forums.net/web-database-development/create-image-database#comment-1281290</link>
    <description> &lt;p&gt;create table table name (&lt;br /&gt;
    image_id    serial,&lt;br /&gt;
    image_name    varchar(255) not null,&lt;br /&gt;
    mime_type   varchar(255) not null,&lt;br /&gt;
    image_size   int  not null,&lt;br /&gt;
    image_data   longblob  not null,&lt;/p&gt;
&lt;p&gt;    primary key (image_id),&lt;br /&gt;
    index (filename)&lt;br /&gt;
);&lt;/p&gt;
 </description>
     <pubDate>Fri, 26 Oct 2012 13:21:59 +0000</pubDate>
 <dc:creator>snapshotcrm</dc:creator>
 <guid isPermaLink="false">comment 1281290 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>CREATE TABLE `imagesdb`</title>
    <link>https://www.webmaster-forums.net/web-database-development/create-image-database#comment-1280505</link>
    <description> &lt;p&gt;CREATE TABLE `imagesdb` (&lt;br /&gt;
`ID` INT NOT NULL AUTO_INCREMENT ,&lt;br /&gt;
`photdata` LONGTEXT NOT NULL ,&lt;br /&gt;
PRIMARY KEY ( `ID` )&lt;br /&gt;
);&lt;/p&gt;
&lt;p&gt;use this command in php to encrypt the image :&lt;br /&gt;
// filename&lt;br /&gt;
$finalimage = chunk_split(base64_encode($filename));&lt;br /&gt;
$sql = &quot;INSERT INTO imagesdb SET photo=&#039;$finalimage&quot;;&lt;br /&gt;
mysql_query($sql);&lt;br /&gt;
?&amp;gt;&lt;/p&gt;
&lt;p&gt;use this command in php to decrypt the image :&lt;/p&gt;
&lt;p&gt;while ($row = mysql_fetch_array($result)) {&lt;br /&gt;
$thenewimage= $row[&quot;photo&quot;];&lt;br /&gt;
echo base64_decode($thenewimage);&lt;br /&gt;
} ?&amp;gt;&lt;br /&gt;
&lt;a href=&quot;http://www.dbgurus.com.au/SQL-Server.aspx&quot; rel=&quot;nofollow&quot;&gt;SQL server&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Sat, 15 Sep 2012 11:20:46 +0000</pubDate>
 <dc:creator>dbgurus</dc:creator>
 <guid isPermaLink="false">comment 1280505 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>How to create image database</title>
    <link>https://www.webmaster-forums.net/web-database-development/create-image-database#comment-1280150</link>
    <description> &lt;p&gt;How to create image database in mysql?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;
Sabareesh&lt;/p&gt;
 </description>
     <pubDate>Fri, 31 Aug 2012 09:19:11 +0000</pubDate>
 <dc:creator>sabareesh</dc:creator>
 <guid isPermaLink="false">comment 1280150 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>do NOT use database for</title>
    <link>https://www.webmaster-forums.net/web-database-development/create-image-database#comment-1279888</link>
    <description> &lt;p&gt;do NOT use database for storing images. use plain files instead, or you&#039;ll get performance problems when database becomes large enough&lt;/p&gt;
 </description>
     <pubDate>Sat, 18 Aug 2012 22:01:13 +0000</pubDate>
 <dc:creator>MasterOfPuppets</dc:creator>
 <guid isPermaLink="false">comment 1279888 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>storing images in a mysql</title>
    <link>https://www.webmaster-forums.net/web-database-development/create-image-database#comment-1272670</link>
    <description> &lt;p&gt;storing images in a mysql database.&lt;/p&gt;
&lt;p&gt;$handle = fopen(&quot;testpic.jpg&quot;, &quot;rb&quot;);&lt;br /&gt;
$img = fread($handle, filesize(&#039;testpic.jpg&#039;));&lt;br /&gt;
fclose($handle);&lt;br /&gt;
//die($img);&lt;/p&gt;
&lt;p&gt;$img = base64_encode($img);&lt;/p&gt;
&lt;p&gt;database_connect&lt;br /&gt;
(&#039;localhost&#039;, &#039;root&#039;, &#039;admin&#039;, &#039;img_test&#039;, &amp;amp;$db_selected, &amp;amp;$connection);&lt;/p&gt;
&lt;p&gt;$sql = &quot;insert into pictures values(null,&#039;$img&#039;,&#039;jpg&#039;,&#039;female&#039;)&quot;;&lt;/p&gt;
&lt;p&gt;mysql_query($sql) or die(&#039;Bad Query at 12&#039;);&lt;/p&gt;
&lt;p&gt;echo &quot;Success! You have inserted your picture!&quot;;&lt;br /&gt;
?&amp;gt; &lt;/p&gt;
&lt;p&gt;______________________________________________________&lt;br /&gt;
&lt;a href=&quot;http://www.ts.avnet.com/clientsolutions/products_and_solutions/application_development/&quot;&gt;&lt;strong&gt;Application Support&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Thu, 02 Feb 2012 09:50:44 +0000</pubDate>
 <dc:creator>NicolaDaly</dc:creator>
 <guid isPermaLink="false">comment 1272670 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>SQL statements to create the</title>
    <link>https://www.webmaster-forums.net/web-database-development/create-image-database#comment-1272646</link>
    <description> &lt;p&gt;SQL statements to create the database you need:&lt;/p&gt;
&lt;p&gt;create database files;&lt;br /&gt;
use files;&lt;/p&gt;
&lt;p&gt;CREATE TABLE files (&lt;br /&gt;
  id int(11) NOT NULL auto_increment,&lt;br /&gt;
  shortName varchar(50) default NULL,&lt;br /&gt;
  mimeType varchar(30) default NULL,&lt;br /&gt;
  mimeName varchar(50) default NULL,&lt;br /&gt;
  fileContents blob,&lt;br /&gt;
  PRIMARY KEY  (id)&lt;br /&gt;
) TYPE=MyISAM;&lt;/p&gt;
 </description>
     <pubDate>Wed, 01 Feb 2012 10:21:50 +0000</pubDate>
 <dc:creator>panel</dc:creator>
 <guid isPermaLink="false">comment 1272646 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
