<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>aronatic.com &#187; upload files</title>
	<atom:link href="http://news.aronatic.com/tag/upload-files/feed" rel="self" type="application/rss+xml" />
	<link>http://news.aronatic.com</link>
	<description>San Diego Web Design, Internet Marketing</description>
	<lastBuildDate>Tue, 25 May 2010 22:03:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>PHP, upload files</title>
		<link>http://news.aronatic.com/php-upload-files/php</link>
		<comments>http://news.aronatic.com/php-upload-files/php#comments</comments>
		<pubDate>Sat, 07 Mar 2009 20:12:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[upload files]]></category>

		<guid isPermaLink="false">http://news.aronatic.com/?p=13</guid>
		<description><![CDATA[1 ) HTML page
&#60;form enctype="multipart/form-data" action="thankyou.php" method="POST"&#62;
Please choose a file: &#60;input name="uploaded" type="file" /&#62;&#60;br /&#62;
&#60;input type="submit" value="Upload" /&#62;
&#60;/form&#62;


must have enctype=&#8221;multipart/form-data&#8221;
create &#8220;upload&#8221; folder inside &#8220;form&#8221; folder, pictures and files uploaded will be posted there.

2 ) ThankYou page
&#60;?php
$target = &#8220;upload/&#8221;;
$target = $target . basename( $_FILES['uploaded']['name']) ;
$ok=1;
//This is our size condition
if ($uploaded_size &#62; 350000)
{
echo &#8220;Your file is too [...]]]></description>
		<wfw:commentRss>http://news.aronatic.com/php-upload-files/php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
