<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.imanpage.com"  xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Iman&#039;s Page</title>
 <link>http://www.imanpage.com</link>
 <description>Iman&#039;s programming, madness and his daily life playground.</description>
 <language>en</language>
<item>
 <title>PHP custom debugging functions</title>
 <link>http://www.imanpage.com/code/php-custom-debugging-functions</link>
 <description>&lt;p&gt;Here is another debugging helper for Symfony, CodeIgniter, Kohana and Zend frameworks or your applications.  Normally you would use var_dump() or print _r() for debugging but dumping  the data without xdebug always a pain. &lt;/p&gt;

&lt;p&gt;I use these custom functions depending on type of data whether an array or a class to debug my code which makes it more friendly and human-readable.&lt;/p&gt;

&lt;br /&gt;

&lt;div class=&quot;codeblock geshifilter&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;br /&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;function&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;my_print_r&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$param&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$bool&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;TRUE&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;pre&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;print_r&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$param&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$bool&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;),&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;FALSE&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;my_var_dump&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$param&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;pre&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;var_dump&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$param&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;));&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;my_debug&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$param&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;is_object&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$param&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;))&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;pre&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;Object:&amp;nbsp;[&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;get_class&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$param&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;).&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;]&amp;nbsp;=&amp;gt;&amp;nbsp;&#039;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;print_r&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;array_keys&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;get_object_vars&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$param&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)),&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;TRUE&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;),&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;FALSE&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;my_debug_in&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$param&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;is_object&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$param&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;))&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;pre&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;Object:&amp;nbsp;[&#039;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;get_class&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$param&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;).&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;&amp;nbsp;]&amp;nbsp;=&amp;gt;&amp;nbsp;Array&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;FALSE&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;foreach&amp;nbsp;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;get_object_vars&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$param&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)&amp;nbsp;as&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$key&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;my_debug&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$key&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;is_array&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$param&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;))&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;my_print_r&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$param&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;my_class&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$name&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;NULL&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$class&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;nbsp;new&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;ReflectionClass&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$name&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;my_print_r&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;Reflection&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;::&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;export&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$class&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;));&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;pre&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$param&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$bool&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;TRUE&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;(!&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;ini_get&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;xdebug.default_enable&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)&amp;nbsp;||&amp;nbsp;!&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$bool&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;pre&amp;gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$param&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;/pre&amp;gt;\n&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}else&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$param&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;</description>
 <comments>http://www.imanpage.com/code/php-custom-debugging-functions#comments</comments>
 <category domain="http://www.imanpage.com/code">Code</category>
 <category domain="http://www.imanpage.com/code/doctrine">Doctrine</category>
 <category domain="http://www.imanpage.com/code/php">PHP</category>
 <category domain="http://www.imanpage.com/code/php5">PHP5</category>
 <category domain="http://www.imanpage.com/code/symfony">Symfony</category>
 <pubDate>Mon, 12 Jul 2010 15:40:45 +0000</pubDate>
 <dc:creator>Iman</dc:creator>
 <guid isPermaLink="false">42 at http://www.imanpage.com</guid>
</item>
<item>
 <title>Symfony and sfDoctrineGuard missing installation point</title>
 <link>http://www.imanpage.com/code/symfony-and-sfdoctrineguard-missing-installation-point</link>
 <description>&lt;p&gt; If you are getting the 500 error (Call to undefined method myUser::isAnonymous.) after installing the sfGuardDoctrine plugin i.e&lt;/p&gt;


&lt;p&gt;&lt;img width=&quot;600&quot; height=&quot;211&quot; src=&quot;/sites/default/files/symfony_500_0.png&quot; alt=&quot;Call to undefined method myUser::isAnonymous.&quot; /&gt;&lt;/p&gt;

&lt;p&gt;
 Add these lines in your apps/app name/config/factories.yml to make to pluging to work.
&lt;/p&gt;
&lt;div class=&quot;geshifilter&quot;&gt;&lt;div class=&quot;bash geshifilter-bash&quot; style=&quot;font-family:monospace;&quot;&gt;all:&lt;br /&gt;
&amp;nbsp; user:&lt;br /&gt;
&amp;nbsp; &amp;nbsp;class: &amp;nbsp;sfGuardSecurityUser&lt;/div&gt;&lt;/div&gt;

&lt;br /&gt;</description>
 <comments>http://www.imanpage.com/code/symfony-and-sfdoctrineguard-missing-installation-point#comments</comments>
 <category domain="http://www.imanpage.com/code">Code</category>
 <category domain="http://www.imanpage.com/code/doctrine">Doctrine</category>
 <category domain="http://www.imanpage.com/code/php">PHP</category>
 <category domain="http://www.imanpage.com/code/symfony">Symfony</category>
 <pubDate>Thu, 08 Jul 2010 13:39:01 +0000</pubDate>
 <dc:creator>Iman</dc:creator>
 <guid isPermaLink="false">41 at http://www.imanpage.com</guid>
</item>
<item>
 <title>Using th native MySQL ENUM type in Symfony 1.4 and Doctrine</title>
 <link>http://www.imanpage.com/code/using-th-native-mysql-enum-type-symfony-14-and-doctrine</link>
 <description>To use the native MySQL ENUM type in Symfony and Doctrine you will have to update your &quot;project/config/databases.yml&quot; and add the &quot;use_native_enum&quot; directive under &quot;attributes&quot; i.e:
&lt;br /&gt;
&lt;div class=&quot;geshifilter&quot;&gt;&lt;div class=&quot;bash geshifilter-bash&quot; style=&quot;font-family:monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; attributes: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;use_native_enum: &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;true&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;use_dql_callbacks: &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;true&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;default_table_collate: utf8_general_ci&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;default_table_charset: utf8&lt;/div&gt;&lt;/div&gt;
&lt;br /&gt;
Full Version
&lt;p&gt;&lt;a href=&quot;http://www.imanpage.com/code/using-th-native-mysql-enum-type-symfony-14-and-doctrine&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.imanpage.com/code/using-th-native-mysql-enum-type-symfony-14-and-doctrine#comments</comments>
 <category domain="http://www.imanpage.com/code">Code</category>
 <category domain="http://www.imanpage.com/code/doctrine">Doctrine</category>
 <category domain="http://www.imanpage.com/code/mysql">MySQL</category>
 <category domain="http://www.imanpage.com/code/php">PHP</category>
 <category domain="http://www.imanpage.com/code/symfony">Symfony</category>
 <pubDate>Mon, 21 Jun 2010 17:18:14 +0000</pubDate>
 <dc:creator>Iman</dc:creator>
 <guid isPermaLink="false">40 at http://www.imanpage.com</guid>
</item>
<item>
 <title>Daryush Shokof the director of Iran Zendan gone missing in Germany</title>
 <link>http://www.imanpage.com/blog/daryush-shokof-director-iran-zendan-gone-missing-germany</link>
 <description>&lt;p style=&quot;text-align: left; &quot;&gt;Iranian director Daryush Shokof has disappeared after his latest film &amp;ldquo;Iran Zendan&amp;rdquo; was premiered three weeks ago in the cinema &amp;ldquo;Babylon&amp;rdquo; in Berlin.  The Iran Zendan draws a very true picture about inhumanity of torture and rape in the prisons of the Islamic Republic in Iran.&lt;/p&gt;&lt;p style=&quot;text-align: left; &quot;&gt;Daryush lives in Berlin for decades and headed to Paris last week. He had planned to board the train from Cologne to Paris and since then he is missing! The last contact with his friends and family was made at the Cologne railway station.&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.imanpage.com/blog/daryush-shokof-director-iran-zendan-gone-missing-germany&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.imanpage.com/blog/daryush-shokof-director-iran-zendan-gone-missing-germany#comments</comments>
 <category domain="http://www.imanpage.com/blog/green-movement">Green Movement</category>
 <category domain="http://www.imanpage.com/blog/iran">Iran</category>
 <category domain="http://www.imanpage.com/blog/terrorist">terrorist</category>
 <pubDate>Sun, 30 May 2010 18:39:22 +0000</pubDate>
 <dc:creator>Iman</dc:creator>
 <guid isPermaLink="false">38 at http://www.imanpage.com</guid>
</item>
<item>
 <title>Iran and US hostage exchange</title>
 <link>http://www.imanpage.com/blog/iran-and-us-hostage-exchange</link>
 <description>&lt;p style=&quot;text-align: left; &quot;&gt;Just a day after Iran and France exchanged hostage the Islamic Republic of Iran managed to force US releasing two of IRI spy&amp;rsquo;s held for a few years in Iraq. It does not take a rocket scientist to figure out that the release of Iranians in Iraq was an exchange with allowing the mothers of three arrested American hikers in Iran visiting their kids.&lt;/p&gt;&lt;p&gt;&lt;object width=&quot;640&quot; height=&quot;385&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/RZ8Fu_F3A_Q&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;&quot; /&gt;&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot; /&gt;&lt;param name=&quot;allowscriptaccess&quot; value=&quot;always&quot; /&gt;&lt;embed src=&quot;http://www.youtube.com/v/RZ8Fu_F3A_Q&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;&quot; type=&quot;application/x-shockwave-flash&quot; allowscriptaccess=&quot;always&quot; allowfullscreen=&quot;true&quot; width=&quot;640&quot; height=&quot;385&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/p&gt;</description>
 <comments>http://www.imanpage.com/blog/iran-and-us-hostage-exchange#comments</comments>
 <category domain="http://www.imanpage.com/blog/green-movement">Green Movement</category>
 <category domain="http://www.imanpage.com/blog/iran">Iran</category>
 <category domain="http://www.imanpage.com/blog/terrorist">terrorist</category>
 <pubDate>Fri, 21 May 2010 13:57:57 +0000</pubDate>
 <dc:creator>Iman</dc:creator>
 <guid isPermaLink="false">37 at http://www.imanpage.com</guid>
</item>
<item>
 <title>Iran and France hostage exchange and west deals with terrorist regimes!</title>
 <link>http://www.imanpage.com/blog/iran-and-france-hostage-exchange-and-west-deals-terrorist-regimes</link>
 <description>&lt;p style=&quot;text-align: left; &quot;&gt;France freed the murderer of &lt;a target=&quot;_blank&quot; href=&quot;http://en.wikipedia.org/wiki/Shapour_Bakhtiar&quot;&gt;Dr. Shahpour Bakhtiar&lt;/a&gt; last Prime Minister of Iran under Shah who was an opponent of the Islamic Republic.  &lt;a target=&quot;_blank&quot; href=&quot;http://www.english.rfi.fr/france/20100519-vakili-rad-back-iran&quot;&gt;Ali Vakili Rad&lt;/a&gt;, which in 1991 imprisoned in France, was freed yesterday immediately after the release of a French teacher accused of spying &lt;a target=&quot;_blank&quot; href=&quot;http://en.wikipedia.org/wiki/Clotilde_Reiss&quot;&gt;Clotilde Reiss&lt;/a&gt; from Evin prison in Iran.   Vakili Rad flew to Tehran after release and was amazingly welcomed by Deputy Foreign Minister and a member of the Parliament National Security Commission of IRI as a national hero!&lt;/p&gt;&lt;p style=&quot;text-align: center; &quot;&gt;&lt;img alt=&quot;Bakhtiar Killer&quot; width=&quot;397&quot; height=&quot;595&quot; align=&quot;middle&quot; src=&quot;/sites/default/files/Khamenei_and_Bakhtiar_killer.jpg&quot; /&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.imanpage.com/blog/iran-and-france-hostage-exchange-and-west-deals-terrorist-regimes&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.imanpage.com/blog/iran-and-france-hostage-exchange-and-west-deals-terrorist-regimes#comments</comments>
 <category domain="http://www.imanpage.com/blog/green-movement">Green Movement</category>
 <category domain="http://www.imanpage.com/blog/hostage">hostage</category>
 <category domain="http://www.imanpage.com/blog/iran">Iran</category>
 <category domain="http://www.imanpage.com/blog/terrorist">terrorist</category>
 <pubDate>Wed, 19 May 2010 13:53:34 +0000</pubDate>
 <dc:creator>Iman</dc:creator>
 <guid isPermaLink="false">36 at http://www.imanpage.com</guid>
</item>
<item>
 <title>Music worm</title>
 <link>http://www.imanpage.com/blog/music-worm</link>
 <description>&lt;p&gt;I just couldn&#039;t stop listening to this song and thought of posting it in my blog :)&amp;nbsp;&lt;/p&gt;  &lt;p&gt;&lt;object width=&quot;480&quot; height=&quot;385&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/U7oSgBsdsIQ&amp;hl=en_GB&amp;fs=1&amp;&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowscriptaccess&quot; value=&quot;always&quot;&gt;&lt;/param&gt;&lt;embed src=&quot;http://www.youtube.com/v/U7oSgBsdsIQ&amp;hl=en_GB&amp;fs=1&amp;&quot; type=&quot;application/x-shockwave-flash&quot; allowscriptaccess=&quot;always&quot; allowfullscreen=&quot;true&quot; width=&quot;480&quot; height=&quot;385&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/p&gt;</description>
 <comments>http://www.imanpage.com/blog/music-worm#comments</comments>
 <category domain="http://www.imanpage.com/blog/music">Music</category>
 <pubDate>Wed, 10 Mar 2010 17:14:48 +0000</pubDate>
 <dc:creator>Iman</dc:creator>
 <guid isPermaLink="false">34 at http://www.imanpage.com</guid>
</item>
<item>
 <title>40 Most Needed Drupal Modules </title>
 <link>http://www.imanpage.com/code/40-most-needed-drupal-modules</link>
 <description>&lt;p&gt;Here are my top 40 Drupal modules that seem to happen more often I am using them in my Drupal projects.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;1. addtoany&lt;br /&gt;&amp;nbsp;2. blocks404&lt;br /&gt;&amp;nbsp;3. boost&lt;br /&gt;&amp;nbsp;4. cacherouter&lt;br /&gt;&amp;nbsp;5. canonical_url&lt;br /&gt;&amp;nbsp;6. captcha&lt;br /&gt;&amp;nbsp;7. cck&lt;br /&gt;&amp;nbsp;8. custom_breadcrumbs&lt;br /&gt;&amp;nbsp;9. date&lt;br /&gt;10. diggthis&lt;br /&gt;11. filefield&lt;br /&gt;12. gravatar&lt;br /&gt;13. htmlpurifier&lt;br /&gt;14. image_caption&lt;br /&gt;15. image_fupload&lt;br /&gt;16. imageapi&lt;br /&gt;17. imagecache&lt;br /&gt;18. imagecache_profiles&lt;br /&gt;19. imagefield&lt;br /&gt;20. imagefield_crop&lt;br /&gt;21. imagefield_tokens&lt;br /&gt;22. imce&lt;br /&gt;23. imce_wysiwyg&lt;br /&gt;24. menu_breadcrumb&lt;br /&gt;25. montharchive&lt;br /&gt;26. nodewords&lt;br /&gt;27. page_title&lt;br /&gt;28. pathauto&lt;br /&gt;29. seo_checklist&lt;br /&gt;30. tagadelic&lt;br /&gt;31. taxonomy_breadcrumb&lt;br /&gt;32. taxonomy_manager&lt;br /&gt;33. taxonomy_menu&lt;br /&gt;34. taxonomy_vtn&lt;br /&gt;35. token&lt;br /&gt;36. twitter&lt;br /&gt;37. views&lt;br /&gt;38. workflow&lt;br /&gt;39. wysiwyg&lt;br /&gt;40. xmlsitemap&lt;/p&gt;</description>
 <comments>http://www.imanpage.com/code/40-most-needed-drupal-modules#comments</comments>
 <category domain="http://www.imanpage.com/code">Code</category>
 <category domain="http://www.imanpage.com/code/drupal">Drupal</category>
 <category domain="http://www.imanpage.com/code/php">PHP</category>
 <pubDate>Tue, 23 Feb 2010 16:13:57 +0000</pubDate>
 <dc:creator>Iman</dc:creator>
 <guid isPermaLink="false">33 at http://www.imanpage.com</guid>
</item>
<item>
 <title>Neda Agha-Soltan the face of Iran&#039;s hero</title>
 <link>http://www.imanpage.com/blog/neda-agha-soltan-face-irans-hero</link>
 <description>&lt;p&gt;&lt;strong&gt;Neda Agha-Soltan &lt;/strong&gt;has lost her life for freedom of my country Iran and has become a face of resistance and hero of our generation.  Neda was a victim’s of brutal regime and an example of the millions of other Iranians who are seeking for basic human right and nothing more.&lt;/p&gt;&lt;h3&gt;Bruz ft. Tiatsh &amp;amp; Jaz&#039; - I can&#039;t Breathe&lt;/h3&gt;&lt;p&gt;&lt;object height=&quot;340&quot; width=&quot;560&quot;&gt;&lt;param value=&quot;http://www.youtube.com/v/QgFvYU_mhqI&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;&quot; name=&quot;movie&quot;&gt;&lt;param value=&quot;true&quot; name=&quot;allowFullScreen&quot;&gt;&lt;param value=&quot;always&quot; name=&quot;allowscriptaccess&quot;&gt;&lt;embed allowfullscreen=&quot;true&quot; allowscriptaccess=&quot;always&quot; type=&quot;application/x-shockwave-flash&quot; src=&quot;http://www.youtube.com/v/QgFvYU_mhqI&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;&quot; height=&quot;340&quot; width=&quot;560&quot;&gt;&lt;/object&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.imanpage.com/blog/neda-agha-soltan-face-irans-hero&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.imanpage.com/blog/neda-agha-soltan-face-irans-hero#comments</comments>
 <category domain="http://www.imanpage.com/blog/green-movement">Green Movement</category>
 <category domain="http://www.imanpage.com/blog/iran">Iran</category>
 <category domain="http://www.imanpage.com/blog/neda">Neda</category>
 <category domain="http://www.imanpage.com/blog/solidarity">Solidarity</category>
 <pubDate>Wed, 10 Feb 2010 14:28:43 +0000</pubDate>
 <dc:creator>Iman</dc:creator>
 <guid isPermaLink="false">31 at http://www.imanpage.com</guid>
</item>
<item>
 <title>URL rewriting and add www to .htaccess for hosting multiple domain or multi sites</title>
 <link>http://www.imanpage.com/code/url-rewriting-and-add-www-htaccess-hosting-multiple-domain-or-multi-sites</link>
 <description>Adding the www to URL in .htaccess for hosting multiple domain or multisites and handle www issue for canonical URLs. 

&lt;br /&gt;

&lt;div class=&quot;geshifilter&quot;&gt;&lt;div class=&quot;bash geshifilter-bash&quot; style=&quot;font-family:monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;##Adding the www&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; RewriteCond &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;%&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#123;&lt;/span&gt;HTTP_HOST&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;!&lt;/span&gt;^www\. &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#91;&lt;/span&gt;NC&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#93;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; RewriteCond &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;%&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#123;&lt;/span&gt;HTTP_HOST&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#125;&lt;/span&gt; ^&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#40;&lt;/span&gt;.&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;*&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#41;&lt;/span&gt;$ &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#91;&lt;/span&gt;NC&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#93;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; RewriteRule ^&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#40;&lt;/span&gt;.&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;*&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#41;&lt;/span&gt;$ &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;http://www.%1/$1&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#91;&lt;/span&gt;L,&lt;span style=&quot;color: #007800;&quot;&gt;R&lt;/span&gt;=&lt;span style=&quot;color: #000000;&quot;&gt;301&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#93;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;

&lt;br /&gt;

The other way around you can &lt;a href=&quot;http://www.imanpage.com/code/remove-www-and-rewrite-url-multi-sites-or-subdomains-htaccess&quot; &gt;removing the www&lt;/a&gt; from URL.

&lt;br /&gt;
&lt;br /&gt;</description>
 <comments>http://www.imanpage.com/code/url-rewriting-and-add-www-htaccess-hosting-multiple-domain-or-multi-sites#comments</comments>
 <category domain="http://www.imanpage.com/code">Code</category>
 <category domain="http://www.imanpage.com/code/htaccess">.htaccess</category>
 <category domain="http://www.imanpage.com/code/apache">Apache</category>
 <category domain="http://www.imanpage.com/code/bash">Bash</category>
 <category domain="http://www.imanpage.com/code/linux">Linux</category>
 <pubDate>Mon, 08 Feb 2010 13:43:33 +0000</pubDate>
 <dc:creator>Iman</dc:creator>
 <guid isPermaLink="false">30 at http://www.imanpage.com</guid>
</item>
</channel>
</rss>
<!-- Page cached by Boost @ 2010-08-23 02:47:21, expires @ 2010-08-23 03:47:21 -->
