<?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>Khalil Majdalawi&#039;s Blog &#187; Web Development</title>
	<atom:link href="http://dev3k.com/blog/category/web-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://dev3k.com/blog</link>
	<description>Web development,Technology,Games and more...</description>
	<lastBuildDate>Mon, 30 Jan 2012 09:57:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>an error occurred while processing this directive</title>
		<link>http://dev3k.com/blog/2012/01/an-error-occurred-while-processing-this-directive/</link>
		<comments>http://dev3k.com/blog/2012/01/an-error-occurred-while-processing-this-directive/#comments</comments>
		<pubDate>Mon, 30 Jan 2012 09:57:35 +0000</pubDate>
		<dc:creator>Khalil Majdalawi</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[justhost]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://dev3k.com/blog/?p=412</guid>
		<description><![CDATA[today i faced this problem "an error occurred while processing this directive" after uploading new drupal website using justhost.com hosting company, it turns out just a permission issue with files, i changed it to 755 and error disappeared]]></description>
			<content:encoded><![CDATA[<p>today i faced this problem "<strong>an error occurred while processing this directive</strong>" after uploading new drupal website using justhost.com hosting company, it turns out just a permission issue with files, i changed it to 755 and error disappeared</p>
]]></content:encoded>
			<wfw:commentRss>http://dev3k.com/blog/2012/01/an-error-occurred-while-processing-this-directive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding Dynamic Subdomains in Godaddy</title>
		<link>http://dev3k.com/blog/2011/10/adding-dynamic-subdomains-in-godaddy/</link>
		<comments>http://dev3k.com/blog/2011/10/adding-dynamic-subdomains-in-godaddy/#comments</comments>
		<pubDate>Mon, 10 Oct 2011 09:12:21 +0000</pubDate>
		<dc:creator>Khalil Majdalawi</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[godaddy]]></category>

		<guid isPermaLink="false">http://dev3k.com/blog/?p=395</guid>
		<description><![CDATA[Just go to your domain zone file editor and add * and your server IP into A(Host) records]]></description>
			<content:encoded><![CDATA[<p>Just go to your domain zone file editor and add * and your server IP into A(Host) records<br />
<a href="http://dev3k.com/blog/wp-content/uploads/2011/10/Screenshot-1.png"><img class="aligncenter size-large wp-image-396" title="Screenshot-1" src="http://dev3k.com/blog/wp-content/uploads/2011/10/Screenshot-1-1024x392.png" alt="" width="550" height="210" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://dev3k.com/blog/2011/10/adding-dynamic-subdomains-in-godaddy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Excel Reader</title>
		<link>http://dev3k.com/blog/2010/10/php-excel-reader/</link>
		<comments>http://dev3k.com/blog/2010/10/php-excel-reader/#comments</comments>
		<pubDate>Wed, 27 Oct 2010 07:28:03 +0000</pubDate>
		<dc:creator>Khalil Majdalawi</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Excel]]></category>

		<guid isPermaLink="false">http://dev3k.com/blog/?p=372</guid>
		<description><![CDATA[Excel Reader opens an Excel spreadsheet using ODBC given a previously defined DSN (data source name) pointing to an existing Excel spreadsheet file. Queries can be executed to retrieve the list of sheets in a spreadsheet, the names of columns of each sheet or the data in the cells as an array. Download: phpkode.com phpclasses.org]]></description>
			<content:encoded><![CDATA[<p>Excel Reader opens an Excel spreadsheet using ODBC given a previously defined DSN (data source name) pointing to an existing Excel spreadsheet file.</p>
<p>Queries can be executed to retrieve the list of sheets in a spreadsheet, the names of columns of each sheet or the data in the cells as an array.</p>
<p>Download:<br />
<a href="http://www.phpkode.com/scripts/item/excel-reader/ ">phpkode.com</a><br />
<a href="http://www.phpclasses.org/package/3797-PHP-Access-Excel-spreadsheets-as-databases-using-ODBC.html">phpclasses.org</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dev3k.com/blog/2010/10/php-excel-reader/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Delete .svn folders recursively using command line</title>
		<link>http://dev3k.com/blog/2009/10/delete-svn-folders-recursively-using-command-line/</link>
		<comments>http://dev3k.com/blog/2009/10/delete-svn-folders-recursively-using-command-line/#comments</comments>
		<pubDate>Mon, 05 Oct 2009 08:42:27 +0000</pubDate>
		<dc:creator>Khalil Majdalawi</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[commands]]></category>
		<category><![CDATA[subversion]]></category>

		<guid isPermaLink="false">http://dev3k.com/blog/?p=321</guid>
		<description><![CDATA[some times i work on small projects with friends and we use Subversion to track and store code changes, collaborate, and share project files so once we finish we usually upload it somewhere by copying the whole project folder so i face that subversion makes folder inside each folder in the project called ".svn" and [...]]]></description>
			<content:encoded><![CDATA[<p>some times i work on small projects with friends and we use <a href="http://en.wikipedia.org/wiki/Subversion_%28software%29">Subversion</a> to track and store code changes, collaborate, and share project files so once we finish we usually upload it somewhere by copying the whole project folder so i face that subversion makes folder inside each folder in the project called ".svn" and that take time to remove manually and unnecessary size to upload<br />
so i run a <a href="http://en.wikipedia.org/wiki/Unix_shell">command</a> inside the project folder to remove that folders recursively before upload.</p>
<p>Run this:</p>
<pre><code>find . -name .svn -exec rm -rf {} \;</code></pre></p>
]]></content:encoded>
			<wfw:commentRss>http://dev3k.com/blog/2009/10/delete-svn-folders-recursively-using-command-line/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>How to get client MAC address in PHP</title>
		<link>http://dev3k.com/blog/2009/07/mac-address-in-php/</link>
		<comments>http://dev3k.com/blog/2009/07/mac-address-in-php/#comments</comments>
		<pubDate>Sat, 04 Jul 2009 14:30:53 +0000</pubDate>
		<dc:creator>Khalil Majdalawi</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://dev3k.com/blog/?p=308</guid>
		<description><![CDATA[&#60;?php exec('arp '.$_SERVER['REMOTE_ADDR'],$user_mac); echo substr($user_mac[1],strpos($user_mac[1],':')-2, '17'); ?&#62; Note : this technique only works on local area networks with linux based server and its impossible to get mac address in php over internet]]></description>
			<content:encoded><![CDATA[<pre>
<code type="php">&lt;?php
exec('arp '.$_SERVER['REMOTE_ADDR'],$user_mac);
echo substr($user_mac[1],strpos($user_mac[1],':')-2, '17');
?&gt;</code>
</pre>
<p>Note : this technique only works on local area networks with linux based server and its impossible to get mac address in php over internet  </p>
]]></content:encoded>
			<wfw:commentRss>http://dev3k.com/blog/2009/07/mac-address-in-php/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>RIP IE6 for god&#8217;s sake</title>
		<link>http://dev3k.com/blog/2009/05/rip-ie6-for-gods-sake/</link>
		<comments>http://dev3k.com/blog/2009/05/rip-ie6-for-gods-sake/#comments</comments>
		<pubDate>Thu, 28 May 2009 07:42:02 +0000</pubDate>
		<dc:creator>Khalil Majdalawi</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[browsers]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[microsoft]]></category>

		<guid isPermaLink="false">http://dev3k.com/blog/?p=279</guid>
		<description><![CDATA[if i hate Microsoft , IE6 will be the reason not BSOD not security not stability , "IE6" i wish it vanish for good RIPIE6 to donate for memorial service]]></description>
			<content:encoded><![CDATA[<p><a href="http://dev3k.com/blog/wp-content/uploads/2009/05/ripie6-2.jpg"><img class="aligncenter size-full wp-image-283" title="ripie6-2" src="http://dev3k.com/blog/wp-content/uploads/2009/05/ripie6-2.jpg" alt="ripie6-2" width="500" height="295" /></a></p>
<p>if i hate Microsoft , IE6 will be the reason not BSOD not security not stability , "<strong>IE6</strong>" i wish it vanish for good</p>
<p><a href="http://ripie6.com/index.html" target="_blank"><img class="aligncenter size-full wp-image-285" title="ripie6-3" src="http://dev3k.com/blog/wp-content/uploads/2009/05/ripie6-3.jpg" alt="ripie6-3" width="510" height="649" /></a></p>
<p><a href="http://ripie6.com/index.html" target="_blank">RIPIE6</a> to donate for memorial service</p>
]]></content:encoded>
			<wfw:commentRss>http://dev3k.com/blog/2009/05/rip-ie6-for-gods-sake/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Remove or force www from domain name</title>
		<link>http://dev3k.com/blog/2009/05/remove-or-force-www-from-domain-name/</link>
		<comments>http://dev3k.com/blog/2009/05/remove-or-force-www-from-domain-name/#comments</comments>
		<pubDate>Thu, 21 May 2009 08:39:31 +0000</pubDate>
		<dc:creator>Khalil Majdalawi</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[apache]]></category>

		<guid isPermaLink="false">http://dev3k.com/blog/?p=247</guid>
		<description><![CDATA[its very simple SEO trick to avoid duplicate content on Google search engine and increase your rank , you have to chose which one suit you www or non-www first you have to enable "rewrite mod" which is apache server feature click here then use the following lines in your .htaccess file to remove WWW [...]]]></description>
			<content:encoded><![CDATA[<p>its very simple SEO trick to avoid duplicate content on Google search engine and increase your rank , you have to chose which one suit you www or non-www</p>
<p>first  you have to enable "rewrite mod" which is apache server feature <a href="http://dev3k.com/blog/2009/05/enable-mod-rewrite-in-apache/" target="_blank">click here</a></p>
<p>then use the following lines in your .htaccess file<br />
to remove WWW</p>
<pre><code>RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.example.com$ [NC]
RewriteRule ^(.*)$ http://example.com/$1 [R=301,L]</code></pre>
<p>to force WWW</p>
<pre><code>RewriteEngine on
RewriteCond %{HTTP_HOST} ^example.com$ [NC]
RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L]</code></pre>
<p>Please, note that the .htaccess should be located in the web site main folder.</p>
<p>for farther reading about .htaccess <a href="http://www.crucialwebhost.com/blog/htaccess-apache-rewrites-oh-my/" target="_blank">Check this great post</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dev3k.com/blog/2009/05/remove-or-force-www-from-domain-name/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enable Mod rewrite in apache</title>
		<link>http://dev3k.com/blog/2009/05/enable-mod-rewrite-in-apache/</link>
		<comments>http://dev3k.com/blog/2009/05/enable-mod-rewrite-in-apache/#comments</comments>
		<pubDate>Thu, 21 May 2009 08:14:08 +0000</pubDate>
		<dc:creator>Khalil Majdalawi</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[apache]]></category>

		<guid isPermaLink="false">http://dev3k.com/blog/?p=252</guid>
		<description><![CDATA[For Debian use sudo a2enmod rewrite For Windows Find the httpd.conf file (usually you will find it in a folder called conf, config or something along those lines) Inside the httpd.conf file uncomment the line LoadModule rewrite_module modules/mod_rewrite.so Also find the line ClearModuleList is uncommented then find and make sure that the line AddModule mod_rewrite.c [...]]]></description>
			<content:encoded><![CDATA[<p>
<strong>For Debian use</strong></p>
<pre><code>sudo a2enmod rewrite</code></pre>
<p><strong>For Windows </strong></p>
<ol>
<li> Find the httpd.conf file (usually you will find it in a folder called conf, config or something along those lines)</li>
<li> Inside the httpd.conf file uncomment the line LoadModule rewrite_module modules/mod_rewrite.so</li>
<li> Also find the line ClearModuleList is uncommented then find and make sure that the line AddModule mod_rewrite.c is not commented out.</li>
</ol>
<p>restart your apache service and you are cool to go</p>
]]></content:encoded>
			<wfw:commentRss>http://dev3k.com/blog/2009/05/enable-mod-rewrite-in-apache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FireFox Passed IE 6 in web share</title>
		<link>http://dev3k.com/blog/2009/03/firefox-passed-ie-6-in-web-share/</link>
		<comments>http://dev3k.com/blog/2009/03/firefox-passed-ie-6-in-web-share/#comments</comments>
		<pubDate>Sun, 08 Mar 2009 11:05:32 +0000</pubDate>
		<dc:creator>Khalil Majdalawi</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[browsers]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[IE]]></category>

		<guid isPermaLink="false">http://dev3k.com/blog/?p=177</guid>
		<description><![CDATA[What A greate day for web developers , IE 7 here we come Source: StatCounter Global Stats]]></description>
			<content:encoded><![CDATA[<p>What A greate day for web developers , IE 7 here we come <img src='http://dev3k.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<div id="browser_version-ww-monthly-200807-200903" width="500" height="400" style="width:500px; height: 400px;"></div>
<p><!-- You may change the values of width and height above to resize the chart -->
<p>Source: <a href="http://gs.statcounter.com/#browser_version-ww-monthly-200807-200903">StatCounter Global Stats</a></p>
<p><script type="text/javascript" src="http://www.statcounter.com/js/FusionCharts.js"></script><script type="text/javascript" src="http://gs.statcounter.com/chart.php?browser_version-ww-monthly-200807-200903"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://dev3k.com/blog/2009/03/firefox-passed-ie-6-in-web-share/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

