<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to Create an Ajax Style File Uploader</title>
	<atom:link href="http://blogfreakz.com/tutorial/ajax-style-file-ploader/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogfreakz.com/tutorial/ajax-style-file-ploader/</link>
	<description>A site dedicated to keeping up with the latest trends on Web Design</description>
	<lastBuildDate>Mon, 30 Apr 2012 09:53:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
	<item>
		<title>By: Mufti Ali</title>
		<link>http://blogfreakz.com/tutorial/ajax-style-file-ploader/comment-page-1/#comment-25794</link>
		<dc:creator>Mufti Ali</dc:creator>
		<pubDate>Thu, 19 Aug 2010 06:33:51 +0000</pubDate>
		<guid isPermaLink="false">http://blogfreakz.com/?p=1799#comment-25794</guid>
		<description>First, upload attachment files, insert data into attachment table. If attachement files uploaded and attachment data inserted, and then nsert user info into user info table.

&lt;?php $target = &quot;upload/&quot;; 
 $target = $target . basename( $_FILES[&#039;uploaded&#039;][&#039;name&#039;]) ; 
 if(move_uploaded_file($_FILES[&#039;uploaded&#039;][&#039;tmp_name&#039;], $target)) { 
 $sql=&quot;insert into attachements (id,name,type,size,temp_name) values(&#039;&#039;,......)&quot;;
	 if(mysql_query($sql)){
	 	$sql=&quot;insert into user_info(&#039;id,&#039;attachment_id&#039;,....) values(&#039;&#039;,last_insert_id(),...)&quot;;
		$query=mysql_query($sql);	
	 }
echo &quot;The file &quot;. basename( $_FILES[&#039;uploadedfile&#039;][&#039;name&#039;]). &quot; has been uploaded&quot;; 
 } else { 
 echo &quot;Sorry, there was a problem uploading your file.&quot;; } ?&gt;</description>
		<content:encoded><![CDATA[<p>First, upload attachment files, insert data into attachment table. If attachement files uploaded and attachment data inserted, and then nsert user info into user info table.</p>
<p>< ?php $target = "upload/";<br />
 $target = $target . basename( $_FILES['uploaded']['name']) ;<br />
 if(move_uploaded_file($_FILES['uploaded']['tmp_name'], $target)) {<br />
 $sql="insert into attachements (id,name,type,size,temp_name) values('',......)";<br />
	 if(mysql_query($sql)){<br />
	 	$sql="insert into user_info('id,'attachment_id',....) values('',last_insert_id(),...)";<br />
		$query=mysql_query($sql);<br />
	 }<br />
echo "The file ". basename( $_FILES['uploadedfile']['name']). " has been uploaded";<br />
 } else {<br />
 echo "Sorry, there was a problem uploading your file."; } ?></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fairuz</title>
		<link>http://blogfreakz.com/tutorial/ajax-style-file-ploader/comment-page-1/#comment-25786</link>
		<dc:creator>fairuz</dc:creator>
		<pubDate>Thu, 19 Aug 2010 04:09:02 +0000</pubDate>
		<guid isPermaLink="false">http://blogfreakz.com/?p=1799#comment-25786</guid>
		<description>can u help how insert all info into mysql db especially i have 2 table : 1st table for user information 2nd table for files attachments, 2 tables related each others because user information tables  have 2 columns  to retrieve attachments from  2nd tables ( all attachments file info store here...size, type, name , tmp_name).

user_info (table 1 structure)
id(PK)
user name
user_birth
user_attachements (files 1)
user_approval (files 2)..
created

file attachments 
id(PK)
name
type
size
temp_name 

tq...sorry about my english
.-= fairuz &#180;s last blog ..&lt;a href=&quot;http://fairuzsulaiman.com/2010/07/rahmat-kasih-sayang-allah/&quot; rel=&quot;nofollow&quot;&gt;Rahmat &amp;amp Kasih Sayang Allah… -&lt;/a&gt; =-.</description>
		<content:encoded><![CDATA[<p>can u help how insert all info into mysql db especially i have 2 table : 1st table for user information 2nd table for files attachments, 2 tables related each others because user information tables  have 2 columns  to retrieve attachments from  2nd tables ( all attachments file info store here&#8230;size, type, name , tmp_name).</p>
<p>user_info (table 1 structure)<br />
id(PK)<br />
user name<br />
user_birth<br />
user_attachements (files 1)<br />
user_approval (files 2)..<br />
created</p>
<p>file attachments<br />
id(PK)<br />
name<br />
type<br />
size<br />
temp_name </p>
<p>tq&#8230;sorry about my english<br />
<span class="cluv"> fairuz &#180;s last blog ..<a href="http://fairuzsulaiman.com/2010/07/rahmat-kasih-sayang-allah/" rel="nofollow">Rahmat &amp;amp Kasih Sayang Allah… -</a> <span class="heart_tip_box"><img class="heart_tip" alt="My ComLuv Profile" border="0" width="16" height="14" src="http://blogfreakz.com/wp-content/plugins/commentluv/images/littleheart.gif"/></span></span></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mupet</title>
		<link>http://blogfreakz.com/tutorial/ajax-style-file-ploader/comment-page-1/#comment-2500</link>
		<dc:creator>mupet</dc:creator>
		<pubDate>Fri, 23 Oct 2009 17:16:35 +0000</pubDate>
		<guid isPermaLink="false">http://blogfreakz.com/?p=1799#comment-2500</guid>
		<description>Hi Jason thanks for visit, Im waiting your next great stuff</description>
		<content:encoded><![CDATA[<p>Hi Jason thanks for visit, Im waiting your next great stuff</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://blogfreakz.com/tutorial/ajax-style-file-ploader/comment-page-1/#comment-2495</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Fri, 23 Oct 2009 14:32:27 +0000</pubDate>
		<guid isPermaLink="false">http://blogfreakz.com/?p=1799#comment-2495</guid>
		<description>Thanks for featuring my tutorial Mufti. Keep an eye out, I will be posting more just like it soon.
.-= Jason&#180;s last blog ..&lt;a href=&quot;http://www.vagrantradio.com/2009/10/show-your-stuff-in-our-flickr-group.html#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed&quot; rel=&quot;nofollow&quot;&gt;Show Your Stuff in Our Flickr Group&lt;/a&gt; =-.</description>
		<content:encoded><![CDATA[<p>Thanks for featuring my tutorial Mufti. Keep an eye out, I will be posting more just like it soon.<br />
<span class="cluv"> Jason&#180;s last blog ..<a href="http://www.vagrantradio.com/2009/10/show-your-stuff-in-our-flickr-group.html#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed" rel="nofollow">Show Your Stuff in Our Flickr Group</a> <span class="heart_tip_box"><img class="heart_tip" alt="My ComLuv Profile" border="0" width="16" height="14" src="http://blogfreakz.com/wp-content/plugins/commentluv/images/littleheart.gif"/></span></span></p>
]]></content:encoded>
	</item>
</channel>
</rss>

