<?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>Albertech.net &#187; PHP</title>
	<atom:link href="http://albertech.net/category/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://albertech.net</link>
	<description>Guides and Reviews for WordPress, PHP, MySQL, Apache, CMS Systems, jQuery, and other Technologies</description>
	<lastBuildDate>Tue, 31 Jan 2012 17:31:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>PHP Security Update &#8211; 1/31/2012</title>
		<link>http://albertech.net/2012/01/php-security-update-1312012/</link>
		<comments>http://albertech.net/2012/01/php-security-update-1312012/#comments</comments>
		<pubDate>Tue, 31 Jan 2012 17:31:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[debian]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[php security]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=863</guid>
		<description><![CDATA[There is an important Debian update for PHP today to fix a number of vulnerabilities such as regression and buffer overflows. The crypt_blowfish function also had a bug that <a href="http://seclists.org/oss-sec/2011/q2/632" target="_blank">did not properly handle 8-bit characters</a>, which could lead to passwords being cracked easier. This is one of the larger security fixes for PHP in the past year, so you should update your PHP package immediately.
<blockquote>Package        : php5

Vulnerability  : several

Problem type   : remote

Debian-specific: no

CVE ID         : CVE-2011-1938 CVE-2011-2483 CVE-2011-4566 CVE-2011-4885

CVE-2012-0057

&#160;

A regression was found in the fix for PHP's XSLT transformations (CVE-2012-0057). Updated packages are now available to address this regression. ... ]]></description>
		<wfw:commentRss>http://albertech.net/2012/01/php-security-update-1312012/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Guide: Using PHP cURL for https requests and a CA certificate</title>
		<link>http://albertech.net/2011/10/guide-for-using-php-curl-with-https-requests-and-ca-certificate/</link>
		<comments>http://albertech.net/2011/10/guide-for-using-php-curl-with-https-requests-and-ca-certificate/#comments</comments>
		<pubDate>Wed, 05 Oct 2011 23:30:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[certificate]]></category>
		<category><![CDATA[cURL]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=790</guid>
		<description><![CDATA[<img class="alignnone size-medium wp-image-791" title="phpcurl1" src="http://albertech.net/wp-content/uploads/2011/10/phpcurl1-300x192.jpg" alt="" width="300" height="192" />

I've looked at a number of cURL PHP tutorials on the web and noticed "curl_setopt($RESTsession, CURLOPT_SSL_VERIFYPEER, false);" is often used for accessing secure websites via cURL. This is often seen when people ask "I cannot connect to HTTPS site using cURL" or  have the "SSL certificate problem, verify that the CA cert is OK" error with cURL.

Ideally, you should set the SSL_VERIFYPEER value to true unless the server you are connecting to does not have a signed certificate. If you are sending confidential data, wouldn't you want to make sure you are connecting to the correct server?

This guide will help you get the CA certificate from the remote server using Mozilla Firefox 6 and then use PHP with cURL to retrieve the information from the remote https server.]]></description>
		<wfw:commentRss>http://albertech.net/2011/10/guide-for-using-php-curl-with-https-requests-and-ca-certificate/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Quick review of NetBeans</title>
		<link>http://albertech.net/2011/09/quick-review-of-netbeans/</link>
		<comments>http://albertech.net/2011/09/quick-review-of-netbeans/#comments</comments>
		<pubDate>Sat, 17 Sep 2011 18:54:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[netbeans]]></category>
		<category><![CDATA[PhpED]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=782</guid>
		<description><![CDATA[After about a month of using NetBeans (www.netbeans.org), I'm making it my main code editor/IDE. I'm writing code on both Mac OSX and Windows, so its nice to have one editor to use for both. The built-in CVS, Subversion, Mercurial, and file transfer tools is really good.  The built-in syntax validation works decently as it will catch any missing semi-colons and brackets. Code completion works good with all the PHP functions listed and it will pull all matching functions in your namespace. Performance is a bit slower since its running on Java, but it should run ok on newer computers. Its also free, which is probably the #1 selling point.]]></description>
		<wfw:commentRss>http://albertech.net/2011/09/quick-review-of-netbeans/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding CAPTCHA to Squirrelmail</title>
		<link>http://albertech.net/2011/08/adding-captcha-to-squirrelmail/</link>
		<comments>http://albertech.net/2011/08/adding-captcha-to-squirrelmail/#comments</comments>
		<pubDate>Mon, 08 Aug 2011 21:01:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[captcha]]></category>
		<category><![CDATA[squirrelmail]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=763</guid>
		<description><![CDATA[<img class="alignnone size-full wp-image-764" title="Squirrelmail CAPTCHA" src="http://albertech.net/wp-content/uploads/2011/08/sqmailcaptcha.jpg" alt="" width="400" height="370" />

Here's a quick guide to enabling the CAPTCHA plugin in Squirrelmail. Its generally a good idea for adding a way to limit the automation of login attempts.]]></description>
		<wfw:commentRss>http://albertech.net/2011/08/adding-captcha-to-squirrelmail/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Fix:  php_network_getaddresses: getaddrinfo failed: Name or service not known</title>
		<link>http://albertech.net/2011/05/fix-php_network_getaddresses-getaddrinfo-failed-name-or-service-not-known/</link>
		<comments>http://albertech.net/2011/05/fix-php_network_getaddresses-getaddrinfo-failed-name-or-service-not-known/#comments</comments>
		<pubDate>Tue, 31 May 2011 18:18:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[getaddrinfo]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=712</guid>
		<description><![CDATA[I ran across this error today after noticing a file_get_contents was not working. This was on a page that had been working fine for about a year.
"php_network_getaddresses: getaddrinfo failed: Name or service not known"

This issue is typically caused by the Apache/PHP host unable to contact the DNS server.

<strong>The first thing to check is to see if you can ping the remote host using console. </strong>
<ul>
	<li>If no, then your primary name server on /etc/resolv.conf (Debian) is not working. Find a working DNS and restart Apache.</li>
	<li>If yes, then Apache is still connecting to the broken DNS server. You should try restarting Apache ... ]]></description>
		<wfw:commentRss>http://albertech.net/2011/05/fix-php_network_getaddresses-getaddrinfo-failed-name-or-service-not-known/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Installing nginx with PHP, MySQL, and WordPress in Fedora</title>
		<link>http://albertech.net/2011/04/installing-nginx-with-php-mysql-wordpress-in-fedora/</link>
		<comments>http://albertech.net/2011/04/installing-nginx-with-php-mysql-wordpress-in-fedora/#comments</comments>
		<pubDate>Fri, 01 Apr 2011 17:31:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[Fedora install]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=663</guid>
		<description><![CDATA[Interested in installing nginx on a Fedora system? The configuration with nginx is more complicated than Apache since  it requires the setup of the nginx server and a separate daemon for running PHP. I prefer creating the daemon from scratch rather than going with the fpm route in Fedora 14 since there isn't official support for it. I'd certainly install the fpm package once its available in Fedora.

<strong>Why switch to nginx? </strong>

If you have a site with heavy CPU and memory load in Apache, then nginx is a great choice. I recently made the switch to nginx and have noticed a reduction in CPU and memory usage. Nginx loads static content very fast and efficiently.

Here's a graph of my nginx server load test. Courtesy of <a href="http://loadimpact.com/" target="_blank">LoadImpact</a>'s free load testing service.

<img class="alignnone size-full wp-image-666" title="nginx-blogs" src="http://albertech.net/wp-content/uploads/2011/04/nginx-blogs.png" alt="" width="544" height="335" />

The user load time on my server is minimally impacted with 50 clients viewing the site simultaneously.]]></description>
		<wfw:commentRss>http://albertech.net/2011/04/installing-nginx-with-php-mysql-wordpress-in-fedora/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Top 5 essential WordPress plugins</title>
		<link>http://albertech.net/2011/03/top-5-essential-wordpress-plugins/</link>
		<comments>http://albertech.net/2011/03/top-5-essential-wordpress-plugins/#comments</comments>
		<pubDate>Tue, 22 Mar 2011 19:33:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[plugins]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=656</guid>
		<description><![CDATA[Looking for some good plugins for your WordPress blog? Here's a list of the top 5 essential WordPress plugins that I've found. These 5 plugins will help with reducing spam on your blog, improving security, adding mobile device support, blog statistics, and improving search engine visibility with your site.

1. Akismet. This is the first line of defense for spam on your blog. Its available in the base install of WordPress. All you need to do is to sign-up for the Akismet API key (free) and enter it into your WordPress configuration. It also helps the community when you tag a comment as spam.
2. Login lockdown.  This prevents your blog from getting hit by sites trying to run dictionary or brute force attacks on your WordPress logins. You can configure the maximum login retries, retry time in minutes, and lockout length. Highly recommended.]]></description>
		<wfw:commentRss>http://albertech.net/2011/03/top-5-essential-wordpress-plugins/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Fix: Importing large RSS files</title>
		<link>http://albertech.net/2011/03/wordpress-fix-importing-large-rss-files/</link>
		<comments>http://albertech.net/2011/03/wordpress-fix-importing-large-rss-files/#comments</comments>
		<pubDate>Wed, 16 Mar 2011 00:56:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[importing RSS]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=651</guid>
		<description><![CDATA[Importing large RSS files in WordPress has its share of bugs and problems. A major cause is due to the latest configuration changes with PHP 5.2. Regular expressions are now capped at 100KB in PHP. WordPress uses the PHP function <strong>preg_match_all</strong>() to parse out the RSS entries.

If you import a post greater than 100KB, the import function to fail completely.

<strong>If you don't have access to change the PHP server settings</strong>, simply edit the RSS file and remove the large RSS posts from the file.

<strong>If you have access to a server:</strong>
To import large RSS posts into WordPress, you will need to change the <strong>php.ini </strong>configuration on your ... ]]></description>
		<wfw:commentRss>http://albertech.net/2011/03/wordpress-fix-importing-large-rss-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP: Finding port number from URL using REGEX</title>
		<link>http://albertech.net/2011/03/php-find-port-number-from-url-using-regex/</link>
		<comments>http://albertech.net/2011/03/php-find-port-number-from-url-using-regex/#comments</comments>
		<pubDate>Mon, 14 Mar 2011 23:21:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[php code]]></category>
		<category><![CDATA[regex]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=648</guid>
		<description><![CDATA[The best way to parse out the port number from a URL (e.g. http://example.com:8080) is to use regular expressions. The PHP function parse_url() will not return port numbers that are specified in the URL. However, I've found parse_url() to be useful for retrieving the host name from a long string. ]]></description>
		<wfw:commentRss>http://albertech.net/2011/03/php-find-port-number-from-url-using-regex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FIX: Fedora SELinux permissions for PHP file upload</title>
		<link>http://albertech.net/2011/03/fix-fedora-selinux-permissions-for-php-file-upload/</link>
		<comments>http://albertech.net/2011/03/fix-fedora-selinux-permissions-for-php-file-upload/#comments</comments>
		<pubDate>Wed, 02 Mar 2011 23:27:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[SELinux]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=643</guid>
		<description><![CDATA[By default, SELinux will block the ability for Apache/webapps to write to files in Fedora. This is a security feature to limit what folders Apache can write to. You can notice this issue if you get errors in your Apache logs such as:

PHP Warning:  move_uploaded_file(): Unable to move '/tmp/...' to '.......'

<strong>Command to set permissions:</strong>

<code>chcon -R -t httpd_sys_rw_content_t [Name of Folder]</code>

You can check the SELinux permissions via the following command:
<code>ls -halZ</code>]]></description>
		<wfw:commentRss>http://albertech.net/2011/03/fix-fedora-selinux-permissions-for-php-file-upload/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PHP Script to fix AJAX Access-Control-Origin Errors</title>
		<link>http://albertech.net/2011/02/php-script-fix-ajax-access-control-origin-error/</link>
		<comments>http://albertech.net/2011/02/php-script-fix-ajax-access-control-origin-error/#comments</comments>
		<pubDate>Thu, 24 Feb 2011 01:26:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[XSS]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=618</guid>
		<description><![CDATA[If you have an AJAX application that uses a PHP back-end app on a different server as your web front-end server (e.g. load balancing, cdn's, etc), your PHP script will need to send header variables with the allowed content server name(s).<br /><br />

Web browsers are now following a standard for HTTP Access control to prevent client-side Cross Site scripting attacks.<br /><br />

I tested this with Firefox and it simply blocks the request without any error messages. Google Chrome browser will error out with the following message if the access control origin is not set correctly on your PHP script. (woot!)<br /><br />

"XMLHttpRequest cannot load [PHP URL].. Origin [JAVASCRIPT URL] is not allowed by Access-Control-Allow-Origin."
<br /><br />

For example, if the Javascript is hosted on example.com and your PHP app is on example.org.

Below is the PHP script for fixing this error. [see full message for the solution]]]></description>
		<wfw:commentRss>http://albertech.net/2011/02/php-script-fix-ajax-access-control-origin-error/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>MySQL Stats: Find number of rows in a database</title>
		<link>http://albertech.net/2011/01/mysql-stats-find-number-of-rows-in-a-database/</link>
		<comments>http://albertech.net/2011/01/mysql-stats-find-number-of-rows-in-a-database/#comments</comments>
		<pubDate>Tue, 11 Jan 2011 00:48:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[reports]]></category>
		<category><![CDATA[stats]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=558</guid>
		<description><![CDATA[<strong>If you ever have the need to find the answer to the following:</strong>
<ul>
	<li>What are the number of tables in a MySQL database?</li>
	<li>What are the number of rows in a MySQL database?</li>
	<li>How much space is the MySQL database using up on the server?</li>
	<li>How many tables there are in a MySQL server?</li>
	<li>How many rows there are in a MySQL server?</li>
</ul>
<strong>One of the quickest ways to find out MySQL reporting stats is using </strong><a href="http://www.phpmyadmin.net" target="_blank"><strong>PHPMyAdmin</strong></a>. The software is usually installed on a number of servers by default, so its just a matter of locating where in the program to find this info.

This is an example of what the stats look ... ]]></description>
		<wfw:commentRss>http://albertech.net/2011/01/mysql-stats-find-number-of-rows-in-a-database/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Drupal 7 Released with new admin features</title>
		<link>http://albertech.net/2011/01/drupal-7-released-new-admin-features/</link>
		<comments>http://albertech.net/2011/01/drupal-7-released-new-admin-features/#comments</comments>
		<pubDate>Thu, 06 Jan 2011 17:24:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Frameworks]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=555</guid>
		<description><![CDATA[<strong>Drupal 7 has been released</strong>. There are a number of improvements to the system with this release including a new administrative interface, built-in custom content structure (it was a previously a plug-in), improved performance, and an automated testing framework built-in.

For more information, visit the Drupal website: <a href="http://drupal.org/drupal-7.0" target="_blank">http://drupal.org/drupal-7.0</a>

There are also Drupal release parties on January 7, 2011. <a href="http://www.drupal7releaseparty.org/" target="_blank">http://www.drupal7releaseparty.org/</a>]]></description>
		<wfw:commentRss>http://albertech.net/2011/01/drupal-7-released-new-admin-features/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>PHP Floating Point Bug Crashes 32-bit Servers</title>
		<link>http://albertech.net/2011/01/php-floating-point-bug-crashes-32-bit-servers/</link>
		<comments>http://albertech.net/2011/01/php-floating-point-bug-crashes-32-bit-servers/#comments</comments>
		<pubDate>Wed, 05 Jan 2011 22:25:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=543</guid>
		<description><![CDATA[There is currently a bug in PHP 5.2/5.3 for certain numbers to take up all system resources in a 32-bit system using the x87 instruction set (Most Intel/AMD boxes use this instruction set).  Systems running 64-bit operating systems are not affected by this bug.

You can test whether your system is running 64-bit by typing the following command in a shell window:
uname -m

If you see i386, you are running a 32-bit server. Listings with  x86_64, or amd64 denote a 64-bit machine.]]></description>
		<wfw:commentRss>http://albertech.net/2011/01/php-floating-point-bug-crashes-32-bit-servers/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress Fix: Fatal error Cannot redeclare wp_load_image</title>
		<link>http://albertech.net/2010/12/wordpress-fix-fatal-error-cannot-redeclare-wp_load_image/</link>
		<comments>http://albertech.net/2010/12/wordpress-fix-fatal-error-cannot-redeclare-wp_load_image/#comments</comments>
		<pubDate>Wed, 22 Dec 2010 02:27:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=538</guid>
		<description><![CDATA[Here's a quick fix for WordPress 2.X to WordPress 3.X migration: 

Fatal error: Cannot redeclare wp_load_image() (... previously declared in /wp-includes/media.php) in /wp-admin/includes/image.php ...)

What causes this? The primary cause is a plugin inside /wp-content/plugins folder that is incompatible with WordPress 3.0. Most likely the plugin developer defined a wordpress function inside their plugin folder, causing a function name redeclaration. ]]></description>
		<wfw:commentRss>http://albertech.net/2010/12/wordpress-fix-fatal-error-cannot-redeclare-wp_load_image/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>CodeIgniter 1.7.2 Security Patch</title>
		<link>http://albertech.net/2010/08/codeigniter-1-7-2-patch/</link>
		<comments>http://albertech.net/2010/08/codeigniter-1-7-2-patch/#comments</comments>
		<pubDate>Sat, 14 Aug 2010 06:33:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Frameworks]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[codeigniter]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=440</guid>
		<description><![CDATA[If you are running CodeIgniter 1.7.2, there is a security flaw with the file upload class. (fixed on July 12, 2010)  The easiest way to install the patch is to use the standalone patch <a href="http://codeigniter.com/download_files/CI_1.7.2_201007_sec_patch.zip">http://codeigniter.com/download_files/CI_1.7.2_201007_sec_patch.zip</a> and unzip the file to the Code Igniter system/libraries folder.]]></description>
		<wfw:commentRss>http://albertech.net/2010/08/codeigniter-1-7-2-patch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress MU: Fix broken images on 2.9 to 3.0 upgrade</title>
		<link>http://albertech.net/2010/07/wordpress-mu-fix-broken-images-on-2-9-to-3-0-upgrade/</link>
		<comments>http://albertech.net/2010/07/wordpress-mu-fix-broken-images-on-2-9-to-3-0-upgrade/#comments</comments>
		<pubDate>Wed, 28 Jul 2010 16:08:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[wordpress 3.0]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=429</guid>
		<description><![CDATA[If you have noticed all your blog images breaking after upgrading to WordPress 3.0 from WordPress MU, you will need to make a simple change to the .htaccess file.

<span id="more-429"></span>
<ol>
	<li>Remove the wp-content/blogs.php file as it is no longer supported in WordPress 3.0. It has been replaced with wp-includes/ms-files.php</li>
	<li>Locate the .htaccess file in the root directory</li>
	<li>Find the following line:
[php]RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L][/php]</li>
	<li>Replace it with:
[php]RewriteRule ^(.*/)?files/(.*) wp-includes/ms-files.php?file=$2 [L][/php]</li>
	<li>This should fix the problem with broken images/files not showing up in the WordPress MU blogs.</li>
</ol>]]></description>
		<wfw:commentRss>http://albertech.net/2010/07/wordpress-mu-fix-broken-images-on-2-9-to-3-0-upgrade/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress RSS Cache issue</title>
		<link>http://albertech.net/2010/05/wordpress-rss-cache-issue/</link>
		<comments>http://albertech.net/2010/05/wordpress-rss-cache-issue/#comments</comments>
		<pubDate>Wed, 12 May 2010 21:24:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[reviews]]></category>
		<category><![CDATA[rss]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=413</guid>
		<description><![CDATA[As an administrator for a WordPress MU install, I've been getting comments about the RSS feed in WordPress not fetching the latest feeds. The RSS feed information that appears on the page ranges from a fetch that is a few hours to a day old. I've confirmed this is an issue with 2.9. This is an issue for blogs that need to pull alerts from an RSS feed within a timely basis, e.g. every 10 minutes.

The workaround to this is to use the KB Advanced RSS feed plugin instead of the one that's in WordPress.
]]></description>
		<wfw:commentRss>http://albertech.net/2010/05/wordpress-rss-cache-issue/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>CodeIgniter: Reading Excel Files</title>
		<link>http://albertech.net/2010/04/codeigniter-reading-excel-files/</link>
		<comments>http://albertech.net/2010/04/codeigniter-reading-excel-files/#comments</comments>
		<pubDate>Tue, 20 Apr 2010 20:06:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Frameworks]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[codeigniter excel]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=397</guid>
		<description><![CDATA[Reading Excel files in CodeIgniter is actually very easy once you have the right documentation. The first thing you will need to do is utilize the CodeIgniter "Upload" library and add in the Excel Reader library for reading the files. The documentation on the CodeIgniter website in regards to this Excel Reader library is missing some details in implementation. This tutorial will go through the steps of installing the Excel reader library and getting an example implementation working.
]]></description>
		<wfw:commentRss>http://albertech.net/2010/04/codeigniter-reading-excel-files/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Fix: MySQL Error Illegal mix of collations</title>
		<link>http://albertech.net/2010/04/fix-mysql-error-illegal-mix-of-collations/</link>
		<comments>http://albertech.net/2010/04/fix-mysql-error-illegal-mix-of-collations/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 20:00:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[mysql character set]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=395</guid>
		<description><![CDATA[<strong>The error message looked like:</strong>
"Illegal mix of collations (latin1_swedish_ci,COERCIBLE) and   (utf8_general_ci,IMPLICIT) for operation 'find_in_set'"

I ran into this problem today while importing text from a CSV file. Evidently, the text format of the document had UTF characters, which caused CodeIgniter to error out when it tried to insert it to the database. The line had French characters (The ç in Français) My database fields by default are set to "<dfn title="Swedish, case-insensitive">latin1_swedish_ci</dfn>" character set.

<strong>The fix?
</strong>I decided the best way to fix this was to set the Collation option for that specific field in the MySQL database to  "utf8_general_ci<dfn title="Unicode (multilingual), ... ]]></description>
		<wfw:commentRss>http://albertech.net/2010/04/fix-mysql-error-illegal-mix-of-collations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

