<?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>Utah Web Design Blog &#187; PHP</title>
	<atom:link href="http://www.redolivedesign.com/utah-web-designers-blog/category/utah-web-design/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.redolivedesign.com/utah-web-designers-blog</link>
	<description>Corporate Blog Site for Red Olive Design Inc.</description>
	<lastBuildDate>Wed, 08 Feb 2012 23:54:13 +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>How to fix UTF-8 charset problem with IIS 7.5 and PHP FastCGI</title>
		<link>http://www.redolivedesign.com/utah-web-designers-blog/2010/10/18/how-to-fix-utf-8charset-problem-with-iis-7-5-and-php-fastcgi/</link>
		<comments>http://www.redolivedesign.com/utah-web-designers-blog/2010/10/18/how-to-fix-utf-8charset-problem-with-iis-7-5-and-php-fastcgi/#comments</comments>
		<pubDate>Mon, 18 Oct 2010 16:12:52 +0000</pubDate>
		<dc:creator>Matthew Moeller</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[7.5]]></category>
		<category><![CDATA[character set]]></category>
		<category><![CDATA[charset]]></category>
		<category><![CDATA[FastCGI]]></category>
		<category><![CDATA[forced]]></category>
		<category><![CDATA[IIS7.5]]></category>
		<category><![CDATA[PHP5]]></category>
		<category><![CDATA[UTF-8]]></category>

		<guid isPermaLink="false">http://www.redolivedesign.com/utah-web-designers-blog/?p=738</guid>
		<description><![CDATA[The performance gains from using the FastCGI version of PHP 5 are obvious and the preferred method.Â  If you build apps that require encoding the page in UTF-8 character set you may have noticed that IIS7.5 overrides your settings. You may have tried explicitly statingÂ  it in your php/IIS config or even on the page with "&#60;meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /&#62;"Â  to no avail. Â Â The problem resides in the implementation ...]]></description>
			<content:encoded><![CDATA[<p>The performance gains from using the FastCGI version of PHP 5 are obvious and the preferred method.Â  If you build apps that require encoding the page in UTF-8 character set you may have noticed that IIS7.5 overrides your settings. You may have tried explicitly statingÂ  it in your php/IIS config or even on the page with "&lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /&gt;"Â  to no avail. Â Â The problem resides in the implementation of the fastcgi module.</p>
<p>By default FastCGI uses ASCII encoding for server variables and thereÂ was no way to modify this behavior with the initial release. While just a mild annoyance with a content manager this quickly turns into a problem if you are using server variables that yourÂ web applicationÂ requires to function when IIS7.5 forces the charset on you.Â  Up until last week there was no resolution for IIS7.5, Microsoft finally posted a hotfix that resolves this issue here. We have tested this and it does resolve the issue.</p>
<ul>
<li>Â IIS 7.5Â FastCGI charsetÂ fix: <a href="http://support.microsoft.com/kb/2277918/">http://support.microsoft.com/kb/2277918/</a></li>
<li>Â IIS 7.0 FastCGI charset fix: <a href="http://www.microsoft.com/downloads/en/details.aspx?displaylang=en&amp;FamilyID=c17a72bd-7009-4830-85e0-06290f3b8367">http://www.microsoft.com/downloads/en/details.aspx?displaylang=en&amp;FamilyID=c17a72bd-7009-4830-85e0-06290f3b8367</a></li>
</ul>
<p>Â Ok, I installed the patch, now what? <a href="http://learn.iis.net/page.aspx/248/configuring-the-fastcgi-extension-for-iis-60/">Instructions on how to deploy the charset fix</a>?</p>
<div style="height:33px;" class="really_simple_share robots-nocontent snap_nopreview"><div class="really_simple_share_facebook_like" style="width:100px;">
				<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.redolivedesign.com%2Futah-web-designers-blog%2F2010%2F10%2F18%2Fhow-to-fix-utf-8charset-problem-with-iis-7-5-and-php-fastcgi%2F&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;colorscheme=light&amp;send=false&amp;height=27" 
						scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:27px;" allowTransparency="true"></iframe>
				</div><div class="really_simple_share_google1" style="width:90px;">
					<g:plusone size="medium" href="http://www.redolivedesign.com/utah-web-designers-blog/2010/10/18/how-to-fix-utf-8charset-problem-with-iis-7-5-and-php-fastcgi/" ></g:plusone>
				</div><div class="really_simple_share_twitter" style="width:110px;">
					<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" 
						data-text="How to fix UTF-8 charset problem with IIS 7.5 and PHP FastCGI" data-url="http://www.redolivedesign.com/utah-web-designers-blog/2010/10/18/how-to-fix-utf-8charset-problem-with-iis-7-5-and-php-fastcgi/" 
						data-via="" ></a> 
				</div></div>
		<div style="clear:both;"></div>]]></content:encoded>
			<wfw:commentRss>http://www.redolivedesign.com/utah-web-designers-blog/2010/10/18/how-to-fix-utf-8charset-problem-with-iis-7-5-and-php-fastcgi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Includes and Active Pages</title>
		<link>http://www.redolivedesign.com/utah-web-designers-blog/2008/03/01/using-includes-and-active-pages/</link>
		<comments>http://www.redolivedesign.com/utah-web-designers-blog/2008/03/01/using-includes-and-active-pages/#comments</comments>
		<pubDate>Sun, 02 Mar 2008 02:44:16 +0000</pubDate>
		<dc:creator>Merrick</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Utah Web Design]]></category>

		<guid isPermaLink="false">http://www.redolivedesign.com/utah-web-designers-blog/2008/03/01/using-includes-and-active-pages/</guid>
		<description><![CDATA[Alright there is no debate includes are the best way to code a nav right? Well, what if someone wants to indicate to the use what page they're on? Â Or as I will call it the active page. Just include a script to the top of each page comparing strings with the window location, and if its true; make it look like the active page. I'm horrible with words but ...]]></description>
			<content:encoded><![CDATA[<p>Alright there is no debate includes are the best way to code a nav right? Well, what if someone wants to indicate to the use what page they're on? Â Or as I will call it the active page. Just include a script to the top of each page comparing strings with the window location, and if its true; make it look like the active page. I'm horrible with words but hopefully this is making sense. Now I'll let the code speak:Â<br />
<code><br />
	var contact = RegExp("contact");<br />
	if(contact.test(window.location) == true)<br />
	{<br />
		$('home').addClass('active');<br />
	}<br />
</code></p>
<p>Nothing to complex- Just comparing our variable string of contact and comparing it with the window location. If there is  a match then you attach an ".active" class to it. I know its nothing big; but a simple trick helps every now and again. </p>
<div style="height:33px;" class="really_simple_share robots-nocontent snap_nopreview"><div class="really_simple_share_facebook_like" style="width:100px;">
				<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.redolivedesign.com%2Futah-web-designers-blog%2F2008%2F03%2F01%2Fusing-includes-and-active-pages%2F&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;colorscheme=light&amp;send=false&amp;height=27" 
						scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:27px;" allowTransparency="true"></iframe>
				</div><div class="really_simple_share_google1" style="width:90px;">
					<g:plusone size="medium" href="http://www.redolivedesign.com/utah-web-designers-blog/2008/03/01/using-includes-and-active-pages/" ></g:plusone>
				</div><div class="really_simple_share_twitter" style="width:110px;">
					<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" 
						data-text="Using Includes and Active Pages" data-url="http://www.redolivedesign.com/utah-web-designers-blog/2008/03/01/using-includes-and-active-pages/" 
						data-via="" ></a> 
				</div></div>
		<div style="clear:both;"></div>]]></content:encoded>
			<wfw:commentRss>http://www.redolivedesign.com/utah-web-designers-blog/2008/03/01/using-includes-and-active-pages/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress 2.x Spell checker Error &#8220;could not execute AJAXcall, server didn&#8217;t return valid a xml&#8221; How to fix</title>
		<link>http://www.redolivedesign.com/utah-web-designers-blog/2007/08/05/wordpress-spell-checker-errors-fix/</link>
		<comments>http://www.redolivedesign.com/utah-web-designers-blog/2007/08/05/wordpress-spell-checker-errors-fix/#comments</comments>
		<pubDate>Mon, 06 Aug 2007 05:09:57 +0000</pubDate>
		<dc:creator>Matthew Moeller</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tech Stuff]]></category>

		<guid isPermaLink="false">http://new.redolive.net/utah-web-designers-blog/index.php/2007/08/05/wordpress-spell-checker-errors-fix/</guid>
		<description><![CDATA[I was having a hell of a time getting the spellchecker in WordPress 2.2.2 to work properly and could not find a solution online anywhere so I decided to post what worked for me. Â Two hours of searching online resulted in nothing so when all else fails you are left to your own devices.Â  ToÂ preface thisÂ postÂ I am using IIS6 and PHP5.Â  Everytime you click the spell check icon you get ...]]></description>
			<content:encoded><![CDATA[<p>I was having a hell of a time getting the spellchecker in WordPress 2.2.2 to work properly and could not find a solution online anywhere so I decided to post what worked for me. Â Two hours of searching online resulted in nothing so when all else fails you are left to your own devices.Â  ToÂ preface thisÂ postÂ I am using IIS6 and PHP5.Â  Everytime you click the spell check icon you get the error <em>"could not execute AJAXcall, server didn't return valid a xml" </em>.</p>
<p>How to fix this error on a win32 box:</p>
<ol>
<li>Crack open your php.ini file and uncomment extension = php_pspell.dll, and make sure it actually exists in your ext/ dir.</li>
<li>Download the aspell installer from aspell.net (<a href="http://aspell.net/win32" title="aspell download">win32 version</a>) and the dictionary installer (en)</li>
<li>Now the funny thing is the win32 installer files appear to have inccorrect linefeeds so when you run the spell checker after install it still blows up but with a new error like "iso8859-1 is not in the proper format". I downloaded the source files via ftp and manually replaced them in the aspell directory.Â  <a href="ftp://ftp.gnu.org/gnu/aspell/w32/" title="FTP to aspell source">FTP link</a>Â , (version aspell-w32-0.50.3)</li>
<li>If your php path is in system32/ you need to copy the .dll files there from the aspell/bin/ dir.</li>
<li>Finally you need to actually configure your spellchecker within WordPress 2.2.x, open the file "wordpress\wp-includes\js\tinymce\plugins\spellchecker\config.php" and comment out the Google spell checker that appears not to work at all, and those who have it working have a sweet delayed response time. Next uncomment this line: "require_once("classes/TinyPspell.class.php"); // Internal PHP version"</li>
<li>Don't forget to turn on the spell check in the first place in config.php "$spellCheckerConfig['enabled'] = true;"</li>
<li>Restart IIS</li>
<li>Enjoy tested and it is now working in IE7 and Firefox 2.X</li>
</ol>
<p>Between the incorrect format of the aspell install files and the weak online support for this Ajax error, it wasÂ a solution found through trial and error.Â  Not bagging WordPress, free is free, and it is a killer app which is worth the debug time.Â  Hope this helps other frustrated hosting providers, not that it isn't a good use of 3hours on a sunday.Â  For more <a href="http://www.redolivedesign.com/services.html" title="Utah web development">web site design and hosting</a> tips visit <a href="http://www.redolivedesign.com/services/red-olive-creative.html" title="Red Olive Creative">Red Olive Creative</a>.</p>
<div style="height:33px;" class="really_simple_share robots-nocontent snap_nopreview"><div class="really_simple_share_facebook_like" style="width:100px;">
				<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.redolivedesign.com%2Futah-web-designers-blog%2F2007%2F08%2F05%2Fwordpress-spell-checker-errors-fix%2F&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;colorscheme=light&amp;send=false&amp;height=27" 
						scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:27px;" allowTransparency="true"></iframe>
				</div><div class="really_simple_share_google1" style="width:90px;">
					<g:plusone size="medium" href="http://www.redolivedesign.com/utah-web-designers-blog/2007/08/05/wordpress-spell-checker-errors-fix/" ></g:plusone>
				</div><div class="really_simple_share_twitter" style="width:110px;">
					<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" 
						data-text="WordPress 2.x Spell checker Error &#8220;could not execute AJAXcall, server didn&#8217;t return valid a xml&#8221; How to fix" data-url="http://www.redolivedesign.com/utah-web-designers-blog/2007/08/05/wordpress-spell-checker-errors-fix/" 
						data-via="" ></a> 
				</div></div>
		<div style="clear:both;"></div>]]></content:encoded>
			<wfw:commentRss>http://www.redolivedesign.com/utah-web-designers-blog/2007/08/05/wordpress-spell-checker-errors-fix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

