<?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</title>
	<atom:link href="http://albertech.net/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>PHPMyAdmin Security Update 1/22/2012</title>
		<link>http://albertech.net/2012/01/phpmyadmin-security-update-1222012/</link>
		<comments>http://albertech.net/2012/01/phpmyadmin-security-update-1222012/#comments</comments>
		<pubDate>Mon, 23 Jan 2012 02:52:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[debian]]></category>
		<category><![CDATA[phpmyadmin]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=860</guid>
		<description><![CDATA[There is a PHPMyAdmin update today for Debian. It fixes XSS bug in the table tracking feature and an XML import plugin vulnerability.  The stable version of Debian (squeeze) and testing (wheezy) are affected.
<blockquote>Package        : phpmyadmin

Vulnerability  : several

Problem type   : remote

Debian-specific: no

CVE ID         : CVE-2011-1940 CVE-2011-3181 CVE-2011-4107

Debian Bug     : 656247

&#160;

Several vulnerabilities have been discovered in phpMyAdmin, a tool to administer MySQL over the web. The Common Vulnerabilities and Exposures project identifies the following problems:

&#160;

CVE-2011-4107

&#160;

The XML import plugin allowed a remote attacker to read arbitrary

files via XML data containing external entity references.

&#160;

CVE-2011-1940, CVE-2011-3181

&#160;

Cross site scripting was possible in the table tracking ... ]]></description>
		<wfw:commentRss>http://albertech.net/2012/01/phpmyadmin-security-update-1222012/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to print PDF graphs using Google Analytics</title>
		<link>http://albertech.net/2011/12/how-to-print-graphs-using-google-analytics/</link>
		<comments>http://albertech.net/2011/12/how-to-print-graphs-using-google-analytics/#comments</comments>
		<pubDate>Wed, 21 Dec 2011 19:43:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[statistics]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=852</guid>
		<description><![CDATA[<img class="alignnone size-full wp-image-857" title="analytics3" src="http://albertech.net/wp-content/uploads/2011/12/analytics3.jpg" alt="" width="408" height="112" />

<strong>As of December 21, 2011, the latest version of Google Analytics does not have the PDF Export utility</strong>. This is an important feature to have since graphs won't print out. The graphs are generated in Adobe Flash, which you can only print via a right click within the Flash object. They are planning to add this feature to the new version of Google Analytics.

<strong>In order to print graphs/reports, you will need to downgrade to the old version of Google Analytics and use the Export to PDF feature. </strong>If you have the following ... ]]></description>
		<wfw:commentRss>http://albertech.net/2011/12/how-to-print-graphs-using-google-analytics/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to Clear Debian Apt Cache</title>
		<link>http://albertech.net/2011/12/how-to-clear-debian-apt-cache/</link>
		<comments>http://albertech.net/2011/12/how-to-clear-debian-apt-cache/#comments</comments>
		<pubDate>Wed, 07 Dec 2011 20:38:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[debian]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=846</guid>
		<description><![CDATA[If you are running on a server with limited space (e.g. VPS), you might need to manually clear out the Debian apt cache via this command:
<strong><code>apt-get clean</code></strong>

Or, keep the current version of the software:
<strong><code>apt-get autoclean</code></strong>

This will clean the files stored in:
/var/cache/apt/archives/]]></description>
		<wfw:commentRss>http://albertech.net/2011/12/how-to-clear-debian-apt-cache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debian Lenny EOL 2/6/2012</title>
		<link>http://albertech.net/2011/12/debian-lenny-eol-262012/</link>
		<comments>http://albertech.net/2011/12/debian-lenny-eol-262012/#comments</comments>
		<pubDate>Tue, 06 Dec 2011 20:44:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[debian]]></category>
		<category><![CDATA[debian update]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=843</guid>
		<description><![CDATA[<img class="alignnone size-full wp-image-599" title="debian" src="http://albertech.net/wp-content/uploads/2011/01/debian.jpg" alt="" width="101" height="124" />

Debian Lenny EOL in two months. Security support for Debian GNU/Linux 5.0 (code name "lenny") will end 2/6/2012.  If you are still using Lenny, you should run a distribution update to Squeeze in the next 60 days.

The Debian project released Debian GNU/Linux 6.0 alias "squeeze" on the 6th of February 2011. Users and distributors have been given a one-year timeframe to upgrade their old installations to the current stable release. Hence, the security support for the old release of 5.0 is going to end on the 6th of February 2012 as ... ]]></description>
		<wfw:commentRss>http://albertech.net/2011/12/debian-lenny-eol-262012/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Modifying awstats to show total hits for matching files</title>
		<link>http://albertech.net/2011/11/modifying-awstats-to-show-total-hits-for-matching-files/</link>
		<comments>http://albertech.net/2011/11/modifying-awstats-to-show-total-hits-for-matching-files/#comments</comments>
		<pubDate>Thu, 03 Nov 2011 18:22:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[awstats]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[mods]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=829</guid>
		<description><![CDATA[<img class="alignnone size-full wp-image-830" title="Awstats with totals row added" src="http://albertech.net/wp-content/uploads/2011/11/awstats11.jpg" alt=""  />

Here's a quick modification to the awstats file that allows you to add a totals field for the "<strong>Viewed - Full List</strong>" option. There isn't a total hits field for matching files in awstats, so I added one to make it more useful. <strong>This makes it a lot quicker to total up hits for a specific folder, file type, or specific file in awstats</strong>.
]]></description>
		<wfw:commentRss>http://albertech.net/2011/11/modifying-awstats-to-show-total-hits-for-matching-files/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Upgrading Debian Lenny to Squeeze with MySQL for row-based-replication</title>
		<link>http://albertech.net/2011/10/upgrading-debian-lenny-to-squeeze-with-mysql-for-row-based-replication/</link>
		<comments>http://albertech.net/2011/10/upgrading-debian-lenny-to-squeeze-with-mysql-for-row-based-replication/#comments</comments>
		<pubDate>Fri, 28 Oct 2011 22:46:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[debian]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[mysql 5.1]]></category>
		<category><![CDATA[row replication]]></category>
		<category><![CDATA[squeeze]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=820</guid>
		<description><![CDATA[<img src="http://albertech.net/wp-content/uploads/2011/01/debian.jpg"><br />

I completed an upgrade of Debian Lenny to Squeeze on a production database server over the weekend. It went quite well and I had zero downtime thanks to my secondary database servers running in-place. One of the biggest benefits to running Squeeze is that MySQL runs at version 5.1.49. Lenny only supports up to MySQL 5.0.

Row-based-replication is safer to replicate data to other servers since all changes are replicated. Prior to MySQL 5.1.14, updates to the mySQL database were not replicated. They were updated via statements (e.g. GRANT, REVOKE). This can potentially cause data-consistency between the master and ... ]]></description>
		<wfw:commentRss>http://albertech.net/2011/10/upgrading-debian-lenny-to-squeeze-with-mysql-for-row-based-replication/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>iPhone 4S tracking information</title>
		<link>http://albertech.net/2011/10/iphone-4s-tracking-information/</link>
		<comments>http://albertech.net/2011/10/iphone-4s-tracking-information/#comments</comments>
		<pubDate>Wed, 12 Oct 2011 22:45:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iphone 4s]]></category>
		<category><![CDATA[tracking]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=809</guid>
		<description><![CDATA[Apple has started sending the tracking information on Monday 10/10/2011 for the iPhone 4S preorders via e-mail. If you ordered early Friday from Apple (before 7am), you should be getting your tracking information shortly.

AT&#038;T is starting to update the status of their iPhone 4S orders from backordered to processed. Verizon and Sprint have sent shipping confirmation notices as well for their Apple iPhone 4S preorders.

<img class="alignnone size-full wp-image-810" title="Tracking Info" src="http://albertech.net/wp-content/uploads/2011/10/ups.jpg" alt="" width="400" height="361" />
]]></description>
		<wfw:commentRss>http://albertech.net/2011/10/iphone-4s-tracking-information/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>Kernel.org still down &#8211; Fix your apt sources</title>
		<link>http://albertech.net/2011/09/kernel-org-still-down-fix-apt-source/</link>
		<comments>http://albertech.net/2011/09/kernel-org-still-down-fix-apt-source/#comments</comments>
		<pubDate>Wed, 21 Sep 2011 20:45:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[debian]]></category>
		<category><![CDATA[apt sources]]></category>
		<category><![CDATA[kernel.org down]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=788</guid>
		<description><![CDATA[With kernel.org being down for the past few weeks, there isn't a clear indication of when they'll be back up. In the meantime, its a good time to check if you are using <strong>mirrors.kernel.org</strong> on your Linux apt sources so you can continue to get the latest updates. As for developers, many are using github or other repositories to host their code. For instance, <a href="https://lkml.org/lkml/2011/9/4/92" target="_blank">Linux Torvalds has released the latest build of Linux 3.1 via Github</a>.]]></description>
		<wfw:commentRss>http://albertech.net/2011/09/kernel-org-still-down-fix-apt-source/feed/</wfw:commentRss>
		<slash:comments>0</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>Hard reset for Google IO Galaxy Tab</title>
		<link>http://albertech.net/2011/08/hard-reset-for-google-io-galaxy-tab/</link>
		<comments>http://albertech.net/2011/08/hard-reset-for-google-io-galaxy-tab/#comments</comments>
		<pubDate>Wed, 24 Aug 2011 04:53:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[galaxy]]></category>
		<category><![CDATA[hard reset]]></category>
		<category><![CDATA[samsung]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=775</guid>
		<description><![CDATA[<img class="alignnone size-medium wp-image-777" title="Android hard reset screen" src="http://albertech.net/wp-content/uploads/2011/08/android-300x300.jpg" alt="" width="300" height="300" />

My Galaxy Tab 10.1 recently started having issues with random restarts and occasional crashing with the Android 3.1 OS. This morning, I got the dreaded boot loop. This is where the bootup screen would go into a neverending loop.

<strong>The only fix that worked was a factory hard reset via the adb/fastboot utility.</strong>]]></description>
		<wfw:commentRss>http://albertech.net/2011/08/hard-reset-for-google-io-galaxy-tab/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: VMWARE guest host with no network connectivity using re-allocated IP address</title>
		<link>http://albertech.net/2011/06/fix-vmware-guest-host-with-no-network-connectivity-using-an-existing-ip-address/</link>
		<comments>http://albertech.net/2011/06/fix-vmware-guest-host-with-no-network-connectivity-using-an-existing-ip-address/#comments</comments>
		<pubDate>Mon, 27 Jun 2011 18:57:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[VMWARE]]></category>
		<category><![CDATA[vmware esx]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=755</guid>
		<description><![CDATA[If you are migrating from one guest host to another using VMWARE and have problems with reusing the IP address from the old host, VMWARE may be binding the IP address to a MAC address.  Even with the old server off, I was unable to get the new server to bind with the original IP address.

<strong>The fix is to create/set a network adapter on the new server with the MAC address of the old server. </strong>After setting the MAC address on the new box to the original NIC MAC address, I was able to get full connectivity with the old IP address.

This will only work ... ]]></description>
		<wfw:commentRss>http://albertech.net/2011/06/fix-vmware-guest-host-with-no-network-connectivity-using-an-existing-ip-address/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up mod deflate on Apache2 for Debian to reduce server bandwidth</title>
		<link>http://albertech.net/2011/06/setting-up-mod-deflate-on-apache2-for-debian-to-reduce-server-bandwidth/</link>
		<comments>http://albertech.net/2011/06/setting-up-mod-deflate-on-apache2-for-debian-to-reduce-server-bandwidth/#comments</comments>
		<pubDate>Wed, 08 Jun 2011 17:28:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[apache2]]></category>
		<category><![CDATA[mod deflate]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=752</guid>
		<description><![CDATA[Mod deflate in Apache 2 is a great way to save on server bandwidth since it can compress files (js/xml/html/css) before it is sent to the client. Most web browsers support gzip compression (90%+) so this is a great way to reduce the amount of traffic sent by the server. It also helps with the Google Page Speed result.


View the full post for the configuration instructions.]]></description>
		<wfw:commentRss>http://albertech.net/2011/06/setting-up-mod-deflate-on-apache2-for-debian-to-reduce-server-bandwidth/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache config for blocking proxy requests to random hostnames</title>
		<link>http://albertech.net/2011/06/apache-config-for-blocking-proxy-requests-to-random-hostnames/</link>
		<comments>http://albertech.net/2011/06/apache-config-for-blocking-proxy-requests-to-random-hostnames/#comments</comments>
		<pubDate>Fri, 03 Jun 2011 17:59:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[apache2 logs]]></category>
		<category><![CDATA[proxy]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=736</guid>
		<description><![CDATA[If you have an Apache server with strange logfile entries such as:

<code>GET http://proxyjudge1.proxyfire.net/fastenv HTTP/1.1" 404
GET http://images.google.com/ HTTP/1.1" 404
</code>

You need to reconfigure your Apache to deny any access  to a host that is not specifically configured on your server. This can be done via changing your /etc/apache2/sites-enabled/[your default config]
]]></description>
		<wfw:commentRss>http://albertech.net/2011/06/apache-config-for-blocking-proxy-requests-to-random-hostnames/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple jQuery image rollover script</title>
		<link>http://albertech.net/2011/06/simple-jquery-imagerollover-script/</link>
		<comments>http://albertech.net/2011/06/simple-jquery-imagerollover-script/#comments</comments>
		<pubDate>Thu, 02 Jun 2011 21:47:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[image rollover]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=715</guid>
		<description><![CDATA[Here's my simple jQuery image rollover script. I modified it to work with absolute URLs. This works well if you have different servers hosting your image files.


See entire post for the code ;)]]></description>
		<wfw:commentRss>http://albertech.net/2011/06/simple-jquery-imagerollover-script/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>Fix: Firefox 4 reports image corrupt or truncated: unknown</title>
		<link>http://albertech.net/2011/05/fix-firefoxfirebug-reports-image-corrupt-or-truncated-unknown/</link>
		<comments>http://albertech.net/2011/05/fix-firefoxfirebug-reports-image-corrupt-or-truncated-unknown/#comments</comments>
		<pubDate>Thu, 26 May 2011 00:39:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[favicon]]></category>
		<category><![CDATA[firefox]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=706</guid>
		<description><![CDATA[If you get the error message in Mozilla Firefox 4.0 Firebug
<blockquote><strong>Image corrupt or truncated: &#60;unknown&#62; </strong></blockquote>
Check to see if your site has the "favicon" setup correctly. Firefox 4.0 has a strict rule that requires your site to have the favicon.

You can set the path of the fav icon with the following HTML:
<code>
&#60;link href="http://[YOURWEBSITE]/favicon.ico" rel="shortcut icon" type="image/x-icon" /&#62; ﻿</code>

Dynamic Drive's free tool for creating favicons:
<a href="http://tools.dynamicdrive.com/favicon/" target="_blank">http://tools.dynamicdrive.com/favicon/</a>]]></description>
		<wfw:commentRss>http://albertech.net/2011/05/fix-firefoxfirebug-reports-image-corrupt-or-truncated-unknown/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>The power of DOCTYPE in Internet Explorer</title>
		<link>http://albertech.net/2011/05/the-power-of-doctype-in-ie/</link>
		<comments>http://albertech.net/2011/05/the-power-of-doctype-in-ie/#comments</comments>
		<pubDate>Tue, 24 May 2011 21:58:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[doctype]]></category>
		<category><![CDATA[IE]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=696</guid>
		<description><![CDATA[Absolute positioning of a DIV in Internet Explorer can be a pain, especially if your page works fine in Firefox, Safari, and Google Chrome. One thing I noticed with Internet Explorer is that it is very strict with their doctype. Internet Explorer will ignore the parent container for absolute positioning  if you don't have "HTML 4.0 Strict" inside the DOCTYPE.

<a href="http://msdn.microsoft.com/en-us/library/ms533005%28v=vs.85%29.aspx" target="_blank">Microsoft</a> states "Internet Explorer 7 and greater: Fixed positioning is available through strict mode." Including the doctype fixed my absolute positioning problems with Internet Explorer.

You can view my implementation of this <a href="http://infomine.ucr.edu/" target="_blank">here</a>. The search suggestion box is centered within the ... ]]></description>
		<wfw:commentRss>http://albertech.net/2011/05/the-power-of-doctype-in-ie/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

