<?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>Programare, coduri PHP, Javascrip, CSS</title>
	<atom:link href="http://programare.dexblog.ro/feed/" rel="self" type="application/rss+xml" />
	<link>http://programare.dexblog.ro</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Mon, 29 Aug 2011 07:05:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Cod HTML: Adauga ca favorit</title>
		<link>http://programare.dexblog.ro/cod-html-adauga-ca-favorit/</link>
		<comments>http://programare.dexblog.ro/cod-html-adauga-ca-favorit/#comments</comments>
		<pubDate>Mon, 29 Aug 2011 07:05:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://programare.dexblog.ro/?p=17</guid>
		<description><![CDATA[<span style="float:left;width:120px;"><img width="100" height="100" src="http://programare.dexblog.ro/wp-content/uploads/2011/08/HTML5_Logo_512-100x100.png" class="attachment-post-thumbnail wp-post-image" alt="HTML5_Logo_512" title="HTML5_Logo_512" /></span>[html]&lt;a href=&quot;:Add This Page To Your Favorites!&quot; onDragstart=&quot;return false&quot; onClick='window.external.AddFavorite(location.href, document.title);return false'&gt;Add this page to Favorites!&lt;/a&gt;[/html]]]></description>
			<content:encoded><![CDATA[<span style="float:left;width:120px;"><img width="100" height="100" src="http://programare.dexblog.ro/wp-content/uploads/2011/08/HTML5_Logo_512-100x100.png" class="attachment-post-thumbnail wp-post-image" alt="HTML5_Logo_512" title="HTML5_Logo_512" /></span>[html]&lt;a href=&quot;:Add This Page To Your Favorites!&quot; onDragstart=&quot;return false&quot; onClick='window.external.AddFavorite(location.href, document.title);return false'&gt;Add this page to Favorites!&lt;/a&gt;[/html]]]></content:encoded>
			<wfw:commentRss>http://programare.dexblog.ro/cod-html-adauga-ca-favorit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Descopera ce fel de device este cel care viziteaza site-ul</title>
		<link>http://programare.dexblog.ro/descopera-ce-fel-de-device-este-cel-care-viziteaza-site-ul/</link>
		<comments>http://programare.dexblog.ro/descopera-ce-fel-de-device-este-cel-care-viziteaza-site-ul/#comments</comments>
		<pubDate>Mon, 29 Aug 2011 07:00:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://programare.dexblog.ro/?p=13</guid>
		<description><![CDATA[<span style="float:left;width:120px;"><img width="100" height="100" src="http://programare.dexblog.ro/wp-content/uploads/2011/08/javascript-100x100.jpg" class="attachment-post-thumbnail wp-post-image" alt="javascript" title="javascript" /></span>[javascript]
NSString *deviceType = [UIDevice currentDevice].model;

if([deviceType isEqualToString:@&quot;iPhone&quot;])
// it's an iPhone
[/javascript]]]></description>
			<content:encoded><![CDATA[<span style="float:left;width:120px;"><img width="100" height="100" src="http://programare.dexblog.ro/wp-content/uploads/2011/08/javascript-100x100.jpg" class="attachment-post-thumbnail wp-post-image" alt="javascript" title="javascript" /></span>[javascript]
NSString *deviceType = [UIDevice currentDevice].model;

if([deviceType isEqualToString:@&quot;iPhone&quot;])
// it's an iPhone
[/javascript]]]></content:encoded>
			<wfw:commentRss>http://programare.dexblog.ro/descopera-ce-fel-de-device-este-cel-care-viziteaza-site-ul/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exporta fiecare tabel mySQL in fisiere separat</title>
		<link>http://programare.dexblog.ro/exporta-fiecare-tabel-mysql-in-fisiere-separat/</link>
		<comments>http://programare.dexblog.ro/exporta-fiecare-tabel-mysql-in-fisiere-separat/#comments</comments>
		<pubDate>Mon, 29 Aug 2011 06:56:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[mySQL]]></category>

		<guid isPermaLink="false">http://programare.dexblog.ro/?p=10</guid>
		<description><![CDATA[<span style="float:left;width:120px;"><img width="100" height="100" src="http://programare.dexblog.ro/wp-content/uploads/2011/08/mysql-100x100.png" class="attachment-post-thumbnail wp-post-image" alt="mysql" title="mysql" /></span>[code]mysql -e 'show databases' | sed -n '2,$p' | xargs -I DB 'mysqldump DB &gt; DB.sql'[/code]]]></description>
			<content:encoded><![CDATA[<span style="float:left;width:120px;"><img width="100" height="100" src="http://programare.dexblog.ro/wp-content/uploads/2011/08/mysql-100x100.png" class="attachment-post-thumbnail wp-post-image" alt="mysql" title="mysql" /></span>[code]mysql -e 'show databases' | sed -n '2,$p' | xargs -I DB 'mysqldump DB &gt; DB.sql'[/code]]]></content:encoded>
			<wfw:commentRss>http://programare.dexblog.ro/exporta-fiecare-tabel-mysql-in-fisiere-separat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Functie si formular de incarcare imagine in PHP</title>
		<link>http://programare.dexblog.ro/functie-si-formular-de-incarcare-imagine-in-php/</link>
		<comments>http://programare.dexblog.ro/functie-si-formular-de-incarcare-imagine-in-php/#comments</comments>
		<pubDate>Mon, 29 Aug 2011 06:42:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://programare.dexblog.ro/?p=4</guid>
		<description><![CDATA[<span style="float:left;width:120px;"><img width="100" height="100" src="http://programare.dexblog.ro/wp-content/uploads/2011/08/php_logo_128-100x100.png" class="attachment-post-thumbnail wp-post-image" alt="php_logo_128" title="php_logo_128" /></span>[php]
&lt;!-- Form Area --&gt;

&lt;form action=&quot;uploader.php&quot; method=&quot;post&quot; enctype=&quot;multipart/form-data&quot;&gt;Select Image: &lt;input type=&quot;file&quot; name=&quot;userfile&quot; /&gt;
&lt;input type=&quot;submit&quot; value=&quot;Upload!&quot; /&gt;&lt;/form&gt;&amp;nbsp;

&lt;!--?php  # Variables $path = &quot;images/&quot;;   $max_size = &quot;200000&quot;;  # File $filename = $_POST['userfile'];  # Control if (!isset($HTTP_POST_FILES['userfile'])) exit;  if (is_uploaded_file($HTTP_POST_FILES['userfile']['tmp_name'])) {  if ($HTTP_POST_FILES['userfile']['size']--&gt;$max_size) {
echo &quot;The File is Too Big. The Max File Size is $max_size KB
n&quot;;
exit;
}

# Type Control
if (
($HTTP_POST_FILES['userfile']['type']==&quot;image/gif&quot;) ||
($HTTP_POST_FILES['userfile']['type']==&quot;image/jpg&quot;) ||
($HTTP_POST_FILES['userfile']['type']==&quot;image/bmp&quot;) ||
($HTTP_POST_FILES['userfile']['type']==&quot;image/png&quot;) ||
($HTTP_POST_FILES['userfile']['type']==&quot;image/jpeg&quot;)
)
{

# If File Exist
if (file_exists($path . $HTTP_POST_FILES['userfile']['name']))
{
echo &quot;A File With That Name Already Exists!
&quot;;
exit;
}

$res = copy($HTTP_POST_FILES['userfile']['tmp_name'], $path .

$HTTP_POST_FILES['userfile']['name']);
if (!$res){
echo &quot;Upload Failed!
&quot;;
exit;
}
else{
echo &quot;Upload Sucessful!
&quot;;
}

echo &quot;File Name: &quot;.$HTTP_POST_FILES['userfile']['name'].&quot;
&quot;;
echo &quot;File Size: &quot;.$HTTP_POST_FILES['userfile']['size'].&quot; bytes
&quot;;
echo &quot;File Type: &quot;.$HTTP_POST_FILES['userfile']['type'].&quot;
&quot;;
echo &quot;&lt;a href=&quot;$path&amp;quot;.$HTTP_POST_FILES['userfile']['name'].&amp;quot;&quot;&gt;View Image&lt;/a&gt;&quot;;
}
else
{
echo &quot;Wrong File Type
&quot;;
exit;
}
}

?&amp;gt;
[/php]]]></description>
			<content:encoded><![CDATA[<span style="float:left;width:120px;"><img width="100" height="100" src="http://programare.dexblog.ro/wp-content/uploads/2011/08/php_logo_128-100x100.png" class="attachment-post-thumbnail wp-post-image" alt="php_logo_128" title="php_logo_128" /></span>[php]
&lt;!-- Form Area --&gt;

&lt;form action=&quot;uploader.php&quot; method=&quot;post&quot; enctype=&quot;multipart/form-data&quot;&gt;Select Image: &lt;input type=&quot;file&quot; name=&quot;userfile&quot; /&gt;
&lt;input type=&quot;submit&quot; value=&quot;Upload!&quot; /&gt;&lt;/form&gt;&amp;nbsp;

&lt;!--?php  # Variables $path = &quot;images/&quot;;   $max_size = &quot;200000&quot;;  # File $filename = $_POST['userfile'];  # Control if (!isset($HTTP_POST_FILES['userfile'])) exit;  if (is_uploaded_file($HTTP_POST_FILES['userfile']['tmp_name'])) {  if ($HTTP_POST_FILES['userfile']['size']--&gt;$max_size) {
echo &quot;The File is Too Big. The Max File Size is $max_size KB
n&quot;;
exit;
}

# Type Control
if (
($HTTP_POST_FILES['userfile']['type']==&quot;image/gif&quot;) ||
($HTTP_POST_FILES['userfile']['type']==&quot;image/jpg&quot;) ||
($HTTP_POST_FILES['userfile']['type']==&quot;image/bmp&quot;) ||
($HTTP_POST_FILES['userfile']['type']==&quot;image/png&quot;) ||
($HTTP_POST_FILES['userfile']['type']==&quot;image/jpeg&quot;)
)
{

# If File Exist
if (file_exists($path . $HTTP_POST_FILES['userfile']['name']))
{
echo &quot;A File With That Name Already Exists!
&quot;;
exit;
}

$res = copy($HTTP_POST_FILES['userfile']['tmp_name'], $path .

$HTTP_POST_FILES['userfile']['name']);
if (!$res){
echo &quot;Upload Failed!
&quot;;
exit;
}
else{
echo &quot;Upload Sucessful!
&quot;;
}

echo &quot;File Name: &quot;.$HTTP_POST_FILES['userfile']['name'].&quot;
&quot;;
echo &quot;File Size: &quot;.$HTTP_POST_FILES['userfile']['size'].&quot; bytes
&quot;;
echo &quot;File Type: &quot;.$HTTP_POST_FILES['userfile']['type'].&quot;
&quot;;
echo &quot;&lt;a href=&quot;$path&amp;quot;.$HTTP_POST_FILES['userfile']['name'].&amp;quot;&quot;&gt;View Image&lt;/a&gt;&quot;;
}
else
{
echo &quot;Wrong File Type
&quot;;
exit;
}
}

?&amp;gt;
[/php]]]></content:encoded>
			<wfw:commentRss>http://programare.dexblog.ro/functie-si-formular-de-incarcare-imagine-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

