<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments for Tech.Bitez</title>
	<atom:link href="http://www.mwasif.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mwasif.com</link>
	<description>Get yourself ready for your own site</description>
	<pubDate>Fri, 25 Jul 2008 20:44:57 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>Comment on Saving images in MySQL with PHP by gaurav</title>
		<link>http://www.mwasif.com/2007/4/save-image-in-mysql-with-php/#comment-116</link>
		<dc:creator>gaurav</dc:creator>
		<pubDate>Sun, 29 Jun 2008 20:18:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.mwasif.com/2007/4/save-image-in-mysql-with-php/#comment-116</guid>
		<description>this helps a lot and provide rapid help to me.. thnx alot :)</description>
		<content:encoded><![CDATA[<p>this helps a lot and provide rapid help to me.. thnx alot <img src='http://www.mwasif.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Saving images in MySQL with PHP by Wasif</title>
		<link>http://www.mwasif.com/2007/4/save-image-in-mysql-with-php/#comment-55</link>
		<dc:creator>Wasif</dc:creator>
		<pubDate>Tue, 24 Jun 2008 16:44:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.mwasif.com/2007/4/save-image-in-mysql-with-php/#comment-55</guid>
		<description>For multiple file upload you need to use '[]' with the HTML file element name. e.g. &#60;input type=”file” name=”image_file[]” /&#62;. You can find the example @ http://www.php.net/manual/en/features.file-upload.multiple.php.</description>
		<content:encoded><![CDATA[<p>For multiple file upload you need to use &#8216;[]&#8216; with the HTML file element name. e.g. &lt;input type=”file” name=”image_file[]” /&gt;. You can find the example @ <a href="http://www.php.net/manual/en/features.file-upload.multiple.php" rel="nofollow">http://www.php.net/manual/en/features.file-upload.multiple.php</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Saving images in MySQL with PHP by Chavez</title>
		<link>http://www.mwasif.com/2007/4/save-image-in-mysql-with-php/#comment-46</link>
		<dc:creator>Chavez</dc:creator>
		<pubDate>Mon, 23 Jun 2008 22:06:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.mwasif.com/2007/4/save-image-in-mysql-with-php/#comment-46</guid>
		<description>I need multiple images upload, please help me</description>
		<content:encoded><![CDATA[<p>I need multiple images upload, please help me</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Download data as csv using PHP by Deepak Raikwar</title>
		<link>http://www.mwasif.com/2007/5/download-data-csv-using-php/#comment-43</link>
		<dc:creator>Deepak Raikwar</dc:creator>
		<pubDate>Thu, 12 Jun 2008 12:45:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.mwasif.com/2007/5/download-data-in-csv-format-using-php/#comment-43</guid>
		<description>Hi Everyone,
                  Thanks coz i got ur code bye ............</description>
		<content:encoded><![CDATA[<p>Hi Everyone,<br />
                  Thanks coz i got ur code bye &#8230;&#8230;&#8230;&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Saving images in MySQL with PHP by PHP-Ausgabe incl. Bilder auf Server speichern - PHP @ tutorials.de: Forum, Tutorial, Anleitung, Schulung &#38; Hilfe</title>
		<link>http://www.mwasif.com/2007/4/save-image-in-mysql-with-php/#comment-39</link>
		<dc:creator>PHP-Ausgabe incl. Bilder auf Server speichern - PHP @ tutorials.de: Forum, Tutorial, Anleitung, Schulung &#38; Hilfe</dc:creator>
		<pubDate>Tue, 13 May 2008 20:55:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.mwasif.com/2007/4/save-image-in-mysql-with-php/#comment-39</guid>
		<description>[...] und im Dateisystem ablegen?  Wie Bilder in einer Datebank gespeichert werden, erklrt z. B. dieses Tutorial. Ein groer Nachteil des Ganzen ist natrlich, das Bilder gro sein knnen. Das heit gerade wenn [...]</description>
		<content:encoded><![CDATA[<p>[...] und im Dateisystem ablegen?  Wie Bilder in einer Datebank gespeichert werden, erklrt z. B. dieses Tutorial. Ein groer Nachteil des Ganzen ist natrlich, das Bilder gro sein knnen. Das heit gerade wenn [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Saving images in MySQL with PHP by Margaret</title>
		<link>http://www.mwasif.com/2007/4/save-image-in-mysql-with-php/#comment-38</link>
		<dc:creator>Margaret</dc:creator>
		<pubDate>Sat, 03 May 2008 17:41:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.mwasif.com/2007/4/save-image-in-mysql-with-php/#comment-38</guid>
		<description>I am new to php.  I am working on a website where clients would search my website for listings.  I have no idea how to design a database that upon request the listings would display information about particular club together with an image.  I also wanted to have links displayed for example, "send to a friend", "rate this" etc.  I've consulted many books in this matter and still have no idea how to start with this.  I need help!!!</description>
		<content:encoded><![CDATA[<p>I am new to php.  I am working on a website where clients would search my website for listings.  I have no idea how to design a database that upon request the listings would display information about particular club together with an image.  I also wanted to have links displayed for example, &#8220;send to a friend&#8221;, &#8220;rate this&#8221; etc.  I&#8217;ve consulted many books in this matter and still have no idea how to start with this.  I need help!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Saving images in MySQL with PHP by Wasif</title>
		<link>http://www.mwasif.com/2007/4/save-image-in-mysql-with-php/#comment-20</link>
		<dc:creator>Wasif</dc:creator>
		<pubDate>Mon, 10 Mar 2008 18:52:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.mwasif.com/2007/4/save-image-in-mysql-with-php/#comment-20</guid>
		<description>You need to make a form to upload files and read the uploaded files with &lt;a href="http://www.php.net/features.file-upload" rel="nofollow"&gt;$_FILES&lt;/a&gt;.

Here is a sample form for single file upload.
&#60;form action="file_upload.php" enctype="multipart/form-data" method="post"&#62;
Provide Image: &#60;input type="file" name="image_file" /&#62;
&#60;input type="submit" title="Upload" /&#62;
&#60;/form&#62;

And the PHP code to upload file
&lt;?
// file_upload.php
// Check if the file uploaded successfully
if(is_uploaded_file($_FILES["image_file"]['tmp_name']))
{
	$image_type = "";
	//for security check the image type
	switch($_FILES["image_file"]["type"])
	{
		case "image/pjpeg":
		case "image/jpeg":
		case "image/gif":
				$image_type = $_FILES["image_file"]["type"];
		default:
				echo "Invalid image type";
				exit;
				break;
	}
	
	$image = chunk_split(base64_encode(file_get_contents($_FILES["image_file"]['tmp_name'])));
	// here you can save the image and image type in DB
	// You will output image type in header() when displaying image
}
?&gt;

For multiple files upload, visit the above link or ask again.</description>
		<content:encoded><![CDATA[<p>You need to make a form to upload files and read the uploaded files with <a href="http://www.php.net/features.file-upload" rel="nofollow">$_FILES</a>.</p>
<p>Here is a sample form for single file upload.<br />
&lt;form action=&#8221;file_upload.php&#8221; enctype=&#8221;multipart/form-data&#8221; method=&#8221;post&#8221;&gt;<br />
Provide Image: &lt;input type=&#8221;file&#8221; name=&#8221;image_file&#8221; /&gt;<br />
&lt;input type=&#8221;submit&#8221; title=&#8221;Upload&#8221; /&gt;<br />
&lt;/form&gt;</p>
<p>And the PHP code to upload file<br />
< ?<br />
// file_upload.php<br />
// Check if the file uploaded successfully<br />
if(is_uploaded_file($_FILES["image_file"]['tmp_name']))<br />
{<br />
	$image_type = "";<br />
	//for security check the image type<br />
	switch($_FILES["image_file"]["type"])<br />
	{<br />
		case "image/pjpeg":<br />
		case "image/jpeg":<br />
		case "image/gif":<br />
				$image_type = $_FILES["image_file"]["type"];<br />
		default:<br />
				echo "Invalid image type";<br />
				exit;<br />
				break;<br />
	}</p>
<p>	$image = chunk_split(base64_encode(file_get_contents($_FILES["image_file"]['tmp_name'])));<br />
	// here you can save the image and image type in DB<br />
	// You will output image type in header() when displaying image<br />
}<br />
?></p>
<p>For multiple files upload, visit the above link or ask again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Saving images in MySQL with PHP by Matthew</title>
		<link>http://www.mwasif.com/2007/4/save-image-in-mysql-with-php/#comment-19</link>
		<dc:creator>Matthew</dc:creator>
		<pubDate>Sun, 09 Mar 2008 01:14:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.mwasif.com/2007/4/save-image-in-mysql-with-php/#comment-19</guid>
		<description>Hi I was just reading you little tutorial and was wondering if you would be kind enough maby to explain how you could work this as a form to insert one or several images to the database. Im working on a gallery done in css and php although im not very good a php yet but id like to try your idea and see if it works out for me...</description>
		<content:encoded><![CDATA[<p>Hi I was just reading you little tutorial and was wondering if you would be kind enough maby to explain how you could work this as a form to insert one or several images to the database. Im working on a gallery done in css and php although im not very good a php yet but id like to try your idea and see if it works out for me&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Download data as csv using PHP by Ahmed Hosny</title>
		<link>http://www.mwasif.com/2007/5/download-data-csv-using-php/#comment-8</link>
		<dc:creator>Ahmed Hosny</dc:creator>
		<pubDate>Fri, 14 Dec 2007 14:23:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.mwasif.com/2007/5/download-data-in-csv-format-using-php/#comment-8</guid>
		<description>sorry this one

$unicode_str_for_Excel = chr(255).chr(254).mb_convert_encoding( $utf8_str, 'UTF-16LE', 'UTF-8');</description>
		<content:encoded><![CDATA[<p>sorry this one</p>
<p>$unicode_str_for_Excel = chr(255).chr(254).mb_convert_encoding( $utf8_str, &#8216;UTF-16LE&#8217;, &#8216;UTF-8&#8242;);</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Download data as csv using PHP by Ahmed Hosny</title>
		<link>http://www.mwasif.com/2007/5/download-data-csv-using-php/#comment-7</link>
		<dc:creator>Ahmed Hosny</dc:creator>
		<pubDate>Fri, 14 Dec 2007 14:22:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.mwasif.com/2007/5/download-data-in-csv-format-using-php/#comment-7</guid>
		<description>Dear ,

try to put the output into var $utf8_str, and then

use this code


it will work
Best regards
Ahmed</description>
		<content:encoded><![CDATA[<p>Dear ,</p>
<p>try to put the output into var $utf8_str, and then</p>
<p>use this code</p>
<p>it will work<br />
Best regards<br />
Ahmed</p>
]]></content:encoded>
	</item>
</channel>
</rss>
