<?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>KADIMI [on web development, SEO, Linux...]</title>
	<atom:link href="http://www.kadimi.com/en/feed" rel="self" type="application/rss+xml" />
	<link>http://www.kadimi.com/en</link>
	<description>Blog &#38; Free Tech Support</description>
	<lastBuildDate>Thu, 11 Mar 2010 12:12:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Error writing the value&#8217;s new contents (Windows Registry Editor)</title>
		<link>http://www.kadimi.com/en/regedit-error-writing-the-values-new-contents-492</link>
		<comments>http://www.kadimi.com/en/regedit-error-writing-the-values-new-contents-492#comments</comments>
		<pubDate>Tue, 09 Mar 2010 13:03:31 +0000</pubDate>
		<dc:creator>Nabil</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[registry]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.kadimi.com/en/?p=492</guid>
		<description><![CDATA[I got this error when trying to change some configuration settings for my anti-virus (TrendMicro WFBS on Windows Server 2003)
&#8216;Cannot edit LocalServerPort:
Error writing the value&#8217;s new contents&#8217;
As usual, when something I don&#8217;t like happens on my computer or on other parts of my life, I ask my friend Google about it, the suggested solutions were [...]]]></description>
			<content:encoded><![CDATA[<p>I got this error when trying to change some configuration settings for my anti-virus (TrendMicro WFBS on Windows Server 2003)</p>
<blockquote><p>&#8216;Cannot edit LocalServerPort:<br />
Error writing the value&#8217;s new contents&#8217;</p></blockquote>
<p>As usual, when something I don&#8217;t like happens on my computer or on other parts of my life, I ask my friend Google about it, the suggested solutions were :</p>
<ul>
<li>Open the Registry Editor using the command &#8220;Regedt32.exe&#8221;</li>
<li>Set or review permissions (Edit-&gt;Permissions&#8230;)</li>
</ul>
<p>Of course none of these worked for me, all I had to do is to close the anti-virus program, or to be more specific unload server/client security agent (lol).</p>
<p>I&#8217;m not much on Windows, so I can&#8217;t explain that behavior, if you know something about it, please share it on the comments section, I will be very pleased to add it here on this very same post.</p>
 <img src="http://www.kadimi.com/en/wp-content/plugins/feed-statistics.php?view=1&post_id=492" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.kadimi.com/en/regedit-error-writing-the-values-new-contents-492/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get current URL in PHP</title>
		<link>http://www.kadimi.com/en/get-current-url-function-486</link>
		<comments>http://www.kadimi.com/en/get-current-url-function-486#comments</comments>
		<pubDate>Mon, 08 Mar 2010 18:29:24 +0000</pubDate>
		<dc:creator>Nabil</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.kadimi.com/en/?p=486</guid>
		<description><![CDATA[Here is a function for getting the URL of the page being processed in PHP, the function accepts one optional parameter $ignore_port_80 (boolean) to tell it whether it should ignore the port part of the url if the port used is 80:

# Prototype
# string get_current_url([boolean $ignore_port_80])

# Function
function get_current_url($ignore_port_80 = true) {
  $is_https = $_SERVER['HTTPS'] [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a function for getting the URL of the page being processed in PHP, the function accepts one optional parameter <code>$ignore_port_80</code> (boolean) to tell it whether it should ignore the port part of the url if the port used is 80:</p>
<blockquote>
<pre># Prototype
# string get_current_url([boolean $ignore_port_80])

# Function
function get_current_url($ignore_port_80 = true) {
  $is_https = $_SERVER['HTTPS'] === 'on';
  $show_port = ($_SERVER['SERVER_PORT'] === '80') &amp;&amp; !$ignore_port_80;

  $url = ''
    . 'http'
    . ($is_https ? 's' : '')
    . '://'
    . $_SERVER['SERVER_NAME']
    . ($show_port ? (':'.$_SERVER['SERVER_PORT']) : '')
    . $_SERVER['REQUEST_URI'];
    return $url;
}

# Examples
echo get_current_url();       # outputs http://www.kadimi.com/en/some-title-123
echo get_current_url(true);   # same
echo get_current_url(false);  # outputs http://www.kadimi.com:80/en/some-title-123
</pre>
</blockquote>
 <img src="http://www.kadimi.com/en/wp-content/plugins/feed-statistics.php?view=1&post_id=486" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.kadimi.com/en/get-current-url-function-486/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vsftpd: 500 OOPS: unrecognised variable in config file</title>
		<link>http://www.kadimi.com/en/vsftpd-500-oops-unrecognised-variable-in-config-file-478</link>
		<comments>http://www.kadimi.com/en/vsftpd-500-oops-unrecognised-variable-in-config-file-478#comments</comments>
		<pubDate>Thu, 18 Feb 2010 21:10:57 +0000</pubDate>
		<dc:creator>Nabil</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[ftp]]></category>
		<category><![CDATA[vsftpd]]></category>

		<guid isPermaLink="false">http://www.kadimi.com/en/?p=478</guid>
		<description><![CDATA[Question
When I start vsftpd on my CentOs machine I get this error:
Starting vsftpd for vsftpd: 500 OOPS: unrecognised variable in config file:  anonymous_enable
How can I fix it?
Answer
The option &#8220;anonymous_enable&#8221; is a valid vsftpd option, but as you can see on the error message, there is an extra white space before the variable definition, I suspect that [...]]]></description>
			<content:encoded><![CDATA[<h2>Question</h2>
<p>When I start vsftpd on my CentOs machine I get this error:</p>
<blockquote><p><code>Starting vsftpd for vsftpd: 500 OOPS: unrecognised variable in config file:  anonymous_enable</code></p></blockquote>
<p>How can I fix it?</p>
<h2>Answer</h2>
<p>The option &#8220;anonymous_enable&#8221; is a valid vsftpd option, but as you can see on the error message, there is an extra white space before the variable definition, I suspect that the line was there, commented, and that when you uncommented it you forgot to remove the white space after the &#8220;#&#8221;, check your vsftpd.conf file make sure that &#8220;anonymous_enable=YES&#8221; or &#8220;anonymous_enable=NO&#8221; stands on a single line without any preceding spaces then start vsftpd:</p>
<blockquote><p><code>service vsftpd start</code></p></blockquote>
 <img src="http://www.kadimi.com/en/wp-content/plugins/feed-statistics.php?view=1&post_id=478" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.kadimi.com/en/vsftpd-500-oops-unrecognised-variable-in-config-file-478/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL statement terminators</title>
		<link>http://www.kadimi.com/en/mysql-query-terminators-440</link>
		<comments>http://www.kadimi.com/en/mysql-query-terminators-440#comments</comments>
		<pubDate>Thu, 28 Jan 2010 01:15:32 +0000</pubDate>
		<dc:creator>Nabil</dc:creator>
				<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.kadimi.com/en/?p=440</guid>
		<description><![CDATA[There is the semicolon &#8220;;&#8221; that every one knows, and &#8220;\g&#8221; which is just the same:
mysql &#62; SELECT * FROM wp_links;
mysql &#62; SELECT * FROM wp_links\g
Those are exactly the same, and will produce the same result, here is an example:
mysql&#62; select * from wp_links \g
+---------+-----------------------+--------------+------------+-------------+---------------+------------------+--------------+------------+-------------+---------------------+----------+------------+-----------------------+
&#124; link_id &#124; link_url        [...]]]></description>
			<content:encoded><![CDATA[<p>There is the semicolon &#8220;;&#8221; that every one knows, and &#8220;\g&#8221; which is just the same:</p>
<blockquote><p><code>mysql &gt; SELECT * FROM wp_links;<br />
mysql &gt; SELECT * FROM wp_links\g</code></p></blockquote>
<p>Those are exactly the same, and will produce the same result, here is an example:</p>
<blockquote><p><code>mysql&gt; select * from wp_links \g<br />
<span style="color: #999999;">+---------+-----------------------+--------------+------------+-------------+---------------+------------------+--------------+------------+-------------+---------------------+----------+------------+-----------------------+<br />
| link_id | link_url              | link_name    | link_image | link_target | link_category | link_description | link_visible | link_owner | link_rating | link_updated        | link_rel | link_notes | link_rss              |<br />
+---------+-----------------------+--------------+------------+-------------+---------------+------------------+--------------+------------+-------------+---------------------+----------+------------+-----------------------+<br />
|       1 | http://www.ar-wp.com/ | WP arabic |            |             |             0 |                  | Y            |          1 |           0 | 0000-00-00 00:00:00 |          |            | http://www.ar-wp.com/ |<br />
+---------+-----------------------+--------------+------------+-------------+---------------+------------------+--------------+------------+-------------+---------------------+----------+------------+-----------------------+<br />
1 row in set (0.01 sec)</span><br />
</code></p></blockquote>
<p>\G is another valid statement terminator, it tells MySQL to produce vertical output, this comes in handy when the result has too much columns, here is the same statement again but with the \G terminator:</p>
<blockquote><p><code>mysql&gt; select * from wp_links\G<br />
<span style="color: #999999;">*************************** 1. row ***************************<br />
link_id: 1<br />
link_url: http://www.ar-wp.com/<br />
link_name: WP arabic<br />
link_image:<br />
link_target:<br />
link_category: 0<br />
link_description:<br />
link_visible: Y<br />
link_owner: 1<br />
link_rating: 0<br />
link_updated: 0000-00-00 00:00:00<br />
link_rel:<br />
link_notes:<br />
link_rss: http://www.ar-wp.com/<br />
1 row in set (0.00 sec)</span></code></p></blockquote>
<p>As you can see this is a more user friendly fashion for displaying data.</p>
 <img src="http://www.kadimi.com/en/wp-content/plugins/feed-statistics.php?view=1&post_id=440" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.kadimi.com/en/mysql-query-terminators-440/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to modify PHP include_path&#8230; Different approaches</title>
		<link>http://www.kadimi.com/en/php-include_path-436</link>
		<comments>http://www.kadimi.com/en/php-include_path-436#comments</comments>
		<pubDate>Wed, 27 Jan 2010 22:16:46 +0000</pubDate>
		<dc:creator>Nabil</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.kadimi.com/en/?p=436</guid>
		<description><![CDATA[What is PHP include_path?
include_path is a PHP core directive, it stores a directory path or a directories paths  list separated by colons &#8220;:&#8221; on Unix and MAC platforms or by semicolons &#8220;;&#8221; on Windows platforms.
When you use include(), include_once(), require(), require_once(), fopen(), file(), readfile() or file_get_contents() to load a file (let&#8217;s say my_file.inc.php), PHP will [...]]]></description>
			<content:encoded><![CDATA[<h2>What is PHP include_path?</h2>
<p><strong>include_path</strong> is a PHP core directive, it stores a directory path or a directories paths  list separated by colons &#8220;:&#8221; on Unix and MAC platforms or by semicolons &#8220;;&#8221; on Windows platforms.</p>
<p>When you use include(), include_once(), require(), require_once(), fopen(), file(), readfile() or file_get_contents() to load a file (let&#8217;s say my_file.inc.php), PHP will look if the file exists on the current working directory, if it doesn&#8217;t find it it will look on the directory list provided (by default) by the include_path directive, PHP will start by searching the first (leftmost) directory path on the list, and won&#8217;t stop until it finds the file to load (include, require, fopen.. ), if it doesn&#8217;t find the file on all directories of the list, it will issue a warning or two</p>
 <img src="http://www.kadimi.com/en/wp-content/plugins/feed-statistics.php?view=1&post_id=436" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.kadimi.com/en/php-include_path-436/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install Symfony Without PEAR</title>
		<link>http://www.kadimi.com/en/symfony-428</link>
		<comments>http://www.kadimi.com/en/symfony-428#comments</comments>
		<pubDate>Wed, 27 Jan 2010 11:05:31 +0000</pubDate>
		<dc:creator>Nabil</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.kadimi.com/en/test-428</guid>
		<description><![CDATA[A lot of web hosts have limited or nonexistent support for PEAR, the pear command will throw errors on most commands or not work at all, in order to install Symfony on such hosts you will need to download the Symfony package, copy Symfony files to your home directory and make them easily accessible from [...]]]></description>
			<content:encoded><![CDATA[<p>A lot of web hosts have limited or nonexistent support for PEAR, the pear command will throw errors on most commands or not work at all, in order to install Symfony on such hosts you will need to download the Symfony package, copy Symfony files to your home directory and make them easily accessible from PHP scripts by modifying the include_path directive setting.</p>
<p>In order to complete these steps faster, we will prefer using SSH to download or edit files and to create folder instead of using FTP, FTP will take a lot of time compared to SSH&#8230; Let&#8217;s start.</p>
<h2>1 &#8211; Download and Install Symfony</h2>
<p>Login to your account using SSH, if you are already logged in make sure your current working directory is your home directory (~), then create a &#8220;php&#8221; folder where you will download the symfony package, we will use the same directory structure used on the Symfony documentation, this will allow you to follow the documentation examples without changing directory names etc.</p>
<p>Before issuing the following commands, grab the link of the latest symfony version from Symfony website, for the purposes of this tutorial you will have to download the  source .tgz file, the text  written in red font will be different depending on the Symfony version:</p>
<blockquote><p><code>you@yourdomain.com [/tmp]# cd<br />
you@yourdomain.com [~]# mkdir php<br />
you@yourdomain.com [~]# mkdir php/lib<br />
you@yourdomain.com [~]# mkdir php/lib/vendor<br />
you@yourdomain.com [~]# cd php/lib/vendor<br />
you@yourdomain.com [~/vendor]# wget http://www.symfony-project.org/get/symfony-<span style="color: #ff0000;">1.4.1</span>.tgz<br />
<span style="color: #999999;"> --06:15:44--  http://www.symfony-project.org/get/symfony-1.4.1.tgz<br />
=&gt; `symfony-1.4.1.tgz.2'<br />
Resolving www.symfony-project.org... 217.174.222.79<br />
Connecting to www.symfony-project.org|217.174.222.79|:80... connected.<br />
HTTP request sent, awaiting response... 200 OK<br />
Length: 3,210,838 (3.1M) [application/x-gzip]100%[===================================================================&gt;] 3,210,838      1.34M/s<br />
06:15:48 (1.34 MB/s) - `symfony-1.4.1.tgz.2' saved [3210838/3210838]<br />
</span>you@yourdomain.com [~/vendor]#  tar zxpf symfony-<span style="color: #ff0000;">1.4.1</span>.tgz<br />
you@yourdomain.com [~/vendor]#  mv symfony-<span style="color: #ff0000;">1.4.1</span> symfony<br />
you@yourdomain.com [~/vendor]# rm -fr symfony-*<br />
</code></p></blockquote>
<h2>2 &#8211; Test your Symfony installation</h2>
<p>You can test your installation and display the symfony version:</p>
<blockquote><p><code>you@yourdomain.com [~]# php -q  php/lib/vendor/symfony/data/bin/symfony -V<br />
<span style="color: #999999;"> symfony version 1.4.1 (/home/you/php/lib/vendor/symfony/lib)</span></code></p></blockquote>
<h2>3 &#8211; Tell PHP where to find Symfony files</h2>
<p>Symfony files are now available in your server, but you still need to tell php where to find them easily. For that you need to modify your PHP include_path and add the &#8220;php&#8221; folder.</p>
<p>We need to know the php folder absolute path, for this we will &#8220;cd&#8221; to the &#8220;php&#8221; directory and issue the &#8220;pwd&#8221; command:</p>
<blockquote><p><code>you@yourdomain.com [~]# cd ~/php<br />
you@yourdomain.com [~]# pwd<br />
/home3/you/php<br />
</code></p></blockquote>
<p>-or-</p>
<blockquote><p><code>you@yourdomain.com [~]# find ~/php -name php<br />
/home3/you/php<br />
</code></p></blockquote>
<p>There are different solutions for altering your PHP include_path, you will choose the one that meets your needs.<br />
[See: How to modify PHP include_path]</p>
<p>In this tutorial, I will assume that you are relying on a global php.ini file .</p>
<p>Open you php.ini file for edit</p>
<blockquote><p><code>you@yourdomain.com [~]# nano /x/y/z/php.ini<br />
</code></p></blockquote>
<p>Look for the include_path directive setting, something like this:</p>
<blockquote><p><code>include_path = ".:/usr/lib/php:/usr/local/lib/php"<br />
</code></p></blockquote>
<p>you can find it easily by using nano&#8217;s search featrure:</p>
<ul>
<li>Press CTRL+W</li>
<li>Type the search string and press RETURN, we are interested in the string <strong>include_path</strong></li>
<li>Press CTRL+W then RETURN until you find something that resembles the code above.</li>
</ul>
<p>Add the php absolute path to your php include_path like this</p>
<p><code>include_path = ".:/usr/lib/php:/usr/local/lib/php<strong>:/home3/you/php</strong>"</code></p>
<h3><span style="text-decoration: underline;">Conclusion</span></h3>
<p>At this point you can use symphony almost as if you installed it using the PEAR pear command. You can use the same method to install other PEAR packages. One more thing you can do is to alter your (most likely) shell PATH to add the symfony command:</p>
<p>Open .bash_profile add the following line AT THE END OF THE FILE:</p>
<blockquote><p><code>PATH=$PATH:$HOME/php/lib/vendor/symfony/data/bin/<br />
export PATH</code></p></blockquote>
 <img src="http://www.kadimi.com/en/wp-content/plugins/feed-statistics.php?view=1&post_id=428" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.kadimi.com/en/symfony-428/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox crashes: How to detect bogus extensions</title>
		<link>http://www.kadimi.com/en/firefox-crashes-421</link>
		<comments>http://www.kadimi.com/en/firefox-crashes-421#comments</comments>
		<pubDate>Tue, 26 Jan 2010 20:42:56 +0000</pubDate>
		<dc:creator>Nabil</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.kadimi.com/en/?p=421</guid>
		<description><![CDATA[<a href="http://www.kadimi.com/en/firefox-crashes-421"><img align="left" hspace="5" width="150" height="150" src="http://www.kadimi.com/en/wp-content/uploads/Mozilla-crash-reporter-150x150.jpg" class="alignleft wp-post-image tfe" alt="Mozilla Crash Reporter" title="Mozilla Crash Reporter" /></a>Today, whenever I used the built in Firefox search function and as soon as I typed the first letter of my phrase, Firefox suddenly crashed and displayed the well known Mozilla Crash Reporter window (image below).

Sending a crash report to complain about my issue won&#8217;t help me (specially), and won&#8217;t help Mozilla people too much, [...]]]></description>
			<content:encoded><![CDATA[<p>Today, whenever I used the built in Firefox search function and as soon as I typed the first letter of my phrase, Firefox suddenly crashed and displayed the well known Mozilla Crash Reporter window (image below).</p>
<p><a href="http://www.kadimi.com/en/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5rYWRpbWkuY29tL2VuL3dwLWNvbnRlbnQvdXBsb2Fkcy9Nb3ppbGxhLWNyYXNoLXJlcG9ydGVyLmpwZw=="><img class="alignnone size-full wp-image-422" title="Mozilla Crash Reporter" src="http://www.kadimi.com/en/wp-content/uploads/Mozilla-crash-reporter.jpg" alt="Mozilla Crash Reporter" width="378" height="387" /></a></p>
<p>Sending a crash report to complain about my issue won&#8217;t help me (specially), and won&#8217;t help Mozilla people too much, unless they know more about my  system (OS, FF version, installed extensions, latest visited websites), so I&#8217;d better try to solve this issue by myself.</p>
<h4>1st try</h4>
<p>I restarted Firefox, it still crashes when i type the first letter of my search string&#8230;</p>
<h4>2nd try</h4>
<p>I rebooted my computer&#8230; I wasted 2 minutes for nothing.</p>
<h4>3rd try</h4>
<p>I scanned my computer using Avira Antivir Personal, nothing found as usual.</p>
<h4>4th try, what I should have done from the beginning</h4>
<p>I started firefox in safe mode and disabled all installed extensions (more than 15).<br />
By the way, the command for starting Firefox in safe mode is:</p>
<blockquote><p><code>firefox -safe-mode</code></p></blockquote>
<p>Guess what, it worked now, I can use the search function again, but all my extensions are disabled, I enabled them 3 or 4 at a time, restarted Firefox, and tested the search function at each time until I spotted the bogus extensions which was nothing but YSlow 2.0.5.</p>
<h3>So what?</h3>
<p>Now I can send a descent report to Mozilla and be helpful, I will have to wait until YSlow is updated again or I will install the extension Google Speed which is very similar and even better than YSlow IMO.</p>
 <img src="http://www.kadimi.com/en/wp-content/plugins/feed-statistics.php?view=1&post_id=421" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.kadimi.com/en/firefox-crashes-421/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Detect WordPress version</title>
		<link>http://www.kadimi.com/en/detect-wordpress-version-408</link>
		<comments>http://www.kadimi.com/en/detect-wordpress-version-408#comments</comments>
		<pubDate>Fri, 22 Jan 2010 14:03:55 +0000</pubDate>
		<dc:creator>Nabil</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.kadimi.com/en/?p=408</guid>
		<description><![CDATA[<a href="http://www.kadimi.com/en/detect-wordpress-version-408"><img align="left" hspace="5" width="150" height="150" src="http://www.kadimi.com/en/wp-content/uploads/wordpress-version-150x150.png" class="alignleft wp-post-image tfe" alt="WordPress version" title="WordPress version" /></a>How can I detect the current WordPress version?
Log in to your admin Dashboard and scroll to the bottom of the page, you&#8217;ll find your version number on the rightmost spot of the footer.

Or you can view the source of one of the pages of your blog and look for the meta generator tag:
&#60;meta name="generator" content="WordPress [...]]]></description>
			<content:encoded><![CDATA[<h2>How can I detect the current WordPress version?</h2>
<p>Log in to your admin Dashboard and scroll to the bottom of the page, you&#8217;ll find your version number on the rightmost spot of the footer.</p>
<h2><a href="http://www.kadimi.com/en/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5rYWRpbWkuY29tL2VuL3dwLWNvbnRlbnQvdXBsb2Fkcy93b3JkcHJlc3MtdmVyc2lvbi5wbmc="><img class="alignnone size-full wp-image-409" title="WordPress version" src="http://www.kadimi.com/en/wp-content/uploads/wordpress-version.png" alt="WordPress version" width="379" height="259" /></a></h2>
<p>Or you can view the source of one of the pages of your blog and look for the meta generator tag:</p>
<blockquote><p><code>&lt;meta name="generator" content="WordPress 2.9.1" /&gt;</code></p></blockquote>
 <img src="http://www.kadimi.com/en/wp-content/plugins/feed-statistics.php?view=1&post_id=408" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.kadimi.com/en/detect-wordpress-version-408/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress upgrade error (Allowed memory size of 33554432 bytes exhausted)</title>
		<link>http://www.kadimi.com/en/upgrade-error-387</link>
		<comments>http://www.kadimi.com/en/upgrade-error-387#comments</comments>
		<pubDate>Sat, 09 Jan 2010 09:15:28 +0000</pubDate>
		<dc:creator>Nabil</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://www.kadimi.com/en/?p=387</guid>
		<description><![CDATA[The problem
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2516315 bytes) in /home/mydomain/public_html/blog/wp-includes/http.php on line 1370
This can happen at any line and with any file, not only http.php at line 1370!
Explanation
Don&#8217;t worry if you get this error, there is nothing wrong with your server or hosting plan etc. Whenever a new [...]]]></description>
			<content:encoded><![CDATA[<h2>The problem</h2>
<blockquote><p>Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2516315 bytes) in /home/mydomain/public_html/blog/wp-includes/http.php on line 1370</p></blockquote>
<p>This can happen at any line and with any file, not only http.php at line 1370!</p>
<h2>Explanation</h2>
<p>Don&#8217;t worry if you get this error, there is nothing wrong with your server or hosting plan etc. Whenever a new version of WordPress is released, new features are added, thus more calculations, so logically more memory is needed.<br />
In older versions of WordPress (before 2.7&#8230; I think), the memory limit was set to 32M, if you are upgrading WordPress, you will probably get that error, you will have to edit the wp-settings.php file and set (I should say change) the constant WP_MEMORY_LIMIT value to 64M, giving PHP more memory to play with.</p>
<h2>The solution</h2>
<ul>
<li>Open the remote file wp-settings.php file located on the base directory where you installed your WP blog</li>
<li>find this code (probably at line 13)<br />
<blockquote><p><code>define('WP_MEMORY_LIMIT', '32M');</code></p></blockquote>
</li>
<li>Replace with<br />
<blockquote><p><code>define('WP_MEMORY_LIMIT', '64M');</code></p></blockquote>
</li>
<li>Run the upgrade process again</li>
<li>Enjoy your updated WP blog</li>
</ul>
 <img src="http://www.kadimi.com/en/wp-content/plugins/feed-statistics.php?view=1&post_id=387" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.kadimi.com/en/upgrade-error-387/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Opera: CSS rotation and other transformations</title>
		<link>http://www.kadimi.com/en/opera-css-rotation-382</link>
		<comments>http://www.kadimi.com/en/opera-css-rotation-382#comments</comments>
		<pubDate>Fri, 01 Jan 2010 17:49:54 +0000</pubDate>
		<dc:creator>Nabil</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[rotation]]></category>

		<guid isPermaLink="false">http://www.kadimi.com/en/?p=382</guid>
		<description><![CDATA[After the release of Opera 10.5 Alpha, it&#8217;s now be possible to rotate elements, this new release includes support for CSS3 rotation and other transitions and transforms, we may not longer need JavaScript for some basic transformations, have a taste:

Download Opera 10.5 Alpha
See the demonstration

The demonstration doesn&#8217;t show rotation, so the CSS for rotation under [...]]]></description>
			<content:encoded><![CDATA[<p>After the release of Opera 10.5 Alpha, it&#8217;s now be possible to rotate elements, this new release includes support for CSS3 rotation and other transitions and transforms, we may not longer need JavaScript for some basic transformations, have a taste:</p>
<ul>
<li>Download <a href="http://www.kadimi.com/en/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2xhYnMub3BlcmEuY29tL2Rvd25sb2Fkcy8=">Opera 10.5 Alpha</a></li>
<li>See the <a href="http://www.kadimi.com/en/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3Blb3BsZS5vcGVyYS5jb20vZHN0b3JleS90cmFuc2l0aW9ucy9tdWx0aXBsZS10cmFuc2l0aW9ucy5odG1s">demonstration</a></li>
</ul>
<p>The demonstration doesn&#8217;t show rotation, so the CSS for rotation under Opera is:</p>
<blockquote>
<pre><code>-o-transform:rotate(90deg);</code></pre>
</blockquote>
<h2>FYI</h2>
<p>When you install Opera 10.5 Alpha, your previous installation of Opera (Stable) is not removed, giving you the chance to test and compare&#8230;</p>
<h2>Read</h2>
<p>Find more about Crossbrowser CSS rotation at <a href="http://www.kadimi.com/en/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3NhbXVsaS5oYWtvbmllbWkubmV0L2Nyb3NzLWJyb3dzZXItcm90YXRpb24tdHJhbnNmb3JtYXRpb24td2l0aC1jc3Mv">hakoniemi&#8217;s blog</a>.</p>
 <img src="http://www.kadimi.com/en/wp-content/plugins/feed-statistics.php?view=1&post_id=382" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.kadimi.com/en/opera-css-rotation-382/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
