<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>#!/ - PoundBangWhack.com</title>
	
	<link>http://www.poundbangwhack.com</link>
	<description>A tech blog providing info, tips, and tricks on web design, scripting, Linux, and more</description>
	<lastBuildDate>Tue, 20 Oct 2009 06:45:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/PoundBangWhack" type="application/rss+xml" /><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://add.my.yahoo.com/rss?url=http%3A%2F%2Ffeeds.feedburner.com%2FPoundBangWhack" src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif">Subscribe with My Yahoo!</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2FPoundBangWhack" src="http://www.newsgator.com/images/ngsub1.gif">Subscribe with NewsGator</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://feeds.my.aol.com/add.jsp?url=http%3A%2F%2Ffeeds.feedburner.com%2FPoundBangWhack" src="http://o.aolcdn.com/favorites.my.aol.com/webmaster/ffclient/webroot/locale/en-US/images/myAOLButtonSmall.gif">Subscribe with My AOL</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.bloglines.com/sub/http://feeds.feedburner.com/PoundBangWhack" src="http://www.bloglines.com/images/sub_modern11.gif">Subscribe with Bloglines</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.netvibes.com/subscribe.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FPoundBangWhack" src="http://www.netvibes.com/img/add2netvibes.gif">Subscribe with Netvibes</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://fusion.google.com/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FPoundBangWhack" src="http://buttons.googlesyndication.com/fusion/add.gif">Subscribe with Google</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.pageflakes.com/subscribe.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2FPoundBangWhack" src="http://www.pageflakes.com/ImageFile.ashx?instanceId=Static_4&amp;fileName=ATP_blu_91x17.gif">Subscribe with Pageflakes</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.plusmo.com/add?url=http%3A%2F%2Ffeeds.feedburner.com%2FPoundBangWhack" src="http://plusmo.com/res/graphics/fbplusmo.gif">Subscribe with Plusmo</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.thefreedictionary.com/_/hp/AddRSS.aspx?http%3A%2F%2Ffeeds.feedburner.com%2FPoundBangWhack" src="http://img.tfd.com/hp/addToTheFreeDictionary.gif">Subscribe with The Free Dictionary</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.bitty.com/manual/?contenttype=rssfeed&amp;contentvalue=http%3A%2F%2Ffeeds.feedburner.com%2FPoundBangWhack" src="http://www.bitty.com/img/bittychicklet_91x17.gif">Subscribe with Bitty Browser</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.newsalloy.com/?rss=http%3A%2F%2Ffeeds.feedburner.com%2FPoundBangWhack" src="http://www.newsalloy.com/subrss3.gif">Subscribe with NewsAlloy</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.live.com/?add=http%3A%2F%2Ffeeds.feedburner.com%2FPoundBangWhack" src="http://tkfiles.storage.msn.com/x1piYkpqHC_35nIp1gLE68-wvzLZO8iXl_JMledmJQXP-XTBOLfmQv4zhj4MhcWEJh_GtoBIiAl1Mjh-ndp9k47If7hTaFno0mxW9_i3p_5qQw">Subscribe with Live.com</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://mix.excite.eu/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FPoundBangWhack" src="http://image.excite.co.uk/mix/addtomix.gif">Subscribe with Excite MIX</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.yourminis.com/subscribe.aspx?u=http%3A%2F%2Ffeeds.feedburner.com%2FPoundBangWhack" src="http://www.yourminis.com/images/addtoyourminisbadge.gif">Subscribe with Yourminis.com</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://download.attensa.com/app/get_attensa.html?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FPoundBangWhack" src="http://www.attensa.com/blogs/attensa/WindowsLiveWriter/BadgeredintoBadges_10C02/attensa_feed_button5.gif">Subscribe with Attensa for Outlook</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.webwag.com/wwgthis.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FPoundBangWhack" src="http://www.webwag.com/images/wwgthis.gif">Subscribe with Webwag</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://hub.netomat.net/account/account.autoSubscribe.jspa?urls=http%3A%2F%2Ffeeds.feedburner.com%2FPoundBangWhack" src="http://www.netomat.net/blogger/images/icon_netomat_feedbutton.gif">Subscribe with netomat Hub</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.podcastready.com/oneclick_bookmark.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FPoundBangWhack" src="http://www.podcastready.com/images/podcastready_button.gif">Subscribe with Podcast Ready</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.flurry.com/pushRssFeed.do?r=fb&amp;url=http%3A%2F%2Ffeeds.feedburner.com%2FPoundBangWhack" src="http://www.flurry.com/images/flurry_rss_logo2.gif">Subscribe with Flurry</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.wikio.com/subscribe?url=http%3A%2F%2Ffeeds.feedburner.com%2FPoundBangWhack" src="http://www.wikio.com/shared/img/add2wikio.gif">Subscribe with Wikio</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.dailyrotation.com/index.php?feed=http%3A%2F%2Ffeeds.feedburner.com%2FPoundBangWhack" src="http://www.dailyrotation.com/rss-dr2.gif">Subscribe with Daily Rotation</feedburner:feedFlare><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>New website launch: OneWordSurveys.com</title>
		<link>http://www.poundbangwhack.com/2009/10/19/new-website-launch-onewordsurveys-com/</link>
		<comments>http://www.poundbangwhack.com/2009/10/19/new-website-launch-onewordsurveys-com/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 06:45:51 +0000</pubDate>
		<dc:creator>Mark Stoecker</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Site Launches]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Wordpress Plugins]]></category>
		<category><![CDATA[Wordpress Themes]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.poundbangwhack.com/?p=1023</guid>
		<description><![CDATA[<a href="http://www.onewordsurveys.com" target="_blank">OneWordSurveys.com</a> is a site as simple as it's concept: Simple (one word) answers to simple questions.  The site poses simple questions to users, all with one word answers.  Questions like "Soda or Pop?", "Coke or Pepsi?", "Biscuits or Muffins?", and much, much more.  The site also provides a means for users to submit their own surveys as well.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.desertwebdesigns.com">Desert Web Designs</a> is pleased to announce the launch of our latest site:</p>
<blockquote>
<h4><a href="http://www.onewordsurveys.com" target="_blank">OneWordSurveys.com</a></h4>
</blockquote>
<h3>The Site</h3>
<p><a href="http://www.onewordsurveys.com" target="_blank">OneWordSurveys.com</a> is a site as simple as it&#8217;s concept: Simple (one word) answers to simple questions.  The site poses simple questions to users, all with one word answers.  Questions like &#8220;Soda or Pop?&#8221;, &#8220;Coke or Pepsi?&#8221;, &#8220;Biscuits or Muffins?&#8221;, and much, much more.  The site also provides a means for users to submit their own surveys as well.<br />
<span id="more-1023"></span></p>
<h3>The Design</h3>
<p>As you can see from visiting the site, the design is not overly complicated.  The client wanted to focus on the surveys and make them as visible as possible and make voting simple.  This meant a clean and simple design making the posts highly visible in the overall design.  The theme chosen is called SimpleX and is provided by <a href="http://wpshoppe.com/" target="_blank">WPShoppe.com</a>.</p>
<p>Only minor changes were made to the theme and installed plugins on the website after the initial design.  Most of these were simply aesthetic changes at the request of the client.  In addition to standard performance plugins, we also developed a plugin to allow all posts to be posted directly to the client&#8217;s <a href="http://twitter.com/onewordsurveys" target="_blank">Twitter account</a> as well as also posting directly to the client&#8217;s <a href="http://www.facebook.com/pages/One-Word-Surveys/157289412261" target="_blank">Facebook page</a> setup for <a href="http://www.onewordsurveys.com/" target="_blank">OneWordSurveys.com</a>.  Lastly, we also customized a contact form plugin so that when a user submits a survey of their own, it will automatically create the survey and schedule the post within the database, thus automating the website further.  At this point, all the client has to do is double check the post before it&#8217;s scheduled post time. </p>
<p>Overall, this site was a very quick and easy site we developed for the client.  However, as you can see, and as the client can attest to with the automation, quick and easy does not always sacrifice quality.  This site took approximately 5 hours to complete.</p>
<p><a href="http://www.onewordsurveys.com" target="_blank">OneWordSurveys.com</a> includes the following services:</p>
<ul>
<li><abbr title="HyperText Markup Language">HTML</abbr></li>
<li><abbr title="PHP Hypertext Preprocessor">PHP</abbr></li>
<li><abbr title="Cascading Style Sheets">CSS</abbr></li>
<li>Javascript</li>
<li><acronym title="Asynchronous JavaScript and XML">AJAX</acronym></li>
<li><acronym title="My Structured Query Language">MySQL</acronym></li>
<li>Customized WordPress Blog</li>
<li>WordPress Theme Customization</li>
<li>WordPress Plugin Development</li>
</ul>

<p><a href="http://feedads.g.doubleclick.net/~a/7d1UqVpT_kcgJxGeLCUy7hZK0WY/0/da"><img src="http://feedads.g.doubleclick.net/~a/7d1UqVpT_kcgJxGeLCUy7hZK0WY/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/7d1UqVpT_kcgJxGeLCUy7hZK0WY/1/da"><img src="http://feedads.g.doubleclick.net/~a/7d1UqVpT_kcgJxGeLCUy7hZK0WY/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=LQgB1gyxHJk:TRD0evjtI6s:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=LQgB1gyxHJk:TRD0evjtI6s:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?i=LQgB1gyxHJk:TRD0evjtI6s:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=LQgB1gyxHJk:TRD0evjtI6s:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=LQgB1gyxHJk:TRD0evjtI6s:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?i=LQgB1gyxHJk:TRD0evjtI6s:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=LQgB1gyxHJk:TRD0evjtI6s:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=LQgB1gyxHJk:TRD0evjtI6s:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?i=LQgB1gyxHJk:TRD0evjtI6s:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=LQgB1gyxHJk:TRD0evjtI6s:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?i=LQgB1gyxHJk:TRD0evjtI6s:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=LQgB1gyxHJk:TRD0evjtI6s:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=LQgB1gyxHJk:TRD0evjtI6s:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=LQgB1gyxHJk:TRD0evjtI6s:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/PoundBangWhack/~4/LQgB1gyxHJk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.poundbangwhack.com/2009/10/19/new-website-launch-onewordsurveys-com/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to fix a ‘403 Forbidden’ error on your website</title>
		<link>http://www.poundbangwhack.com/2009/09/04/how-to-fix-a-403-forbidden-error-on-your-website/</link>
		<comments>http://www.poundbangwhack.com/2009/09/04/how-to-fix-a-403-forbidden-error-on-your-website/#comments</comments>
		<pubDate>Fri, 04 Sep 2009 19:07:30 +0000</pubDate>
		<dc:creator>Mark Stoecker</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Permissions]]></category>

		<guid isPermaLink="false">http://www.poundbangwhack.com/?p=1011</guid>
		<description><![CDATA[So you're working on your website and you go to test it and you get a big nasty message that says something to the effect of 
<code><strong>Forbidden</strong><br />
You don't have permission to access / on this server.</code>
What did you do? Better yet, what <strong>do</strong> you do.  ]]></description>
			<content:encoded><![CDATA[<p>So you&#8217;re working on your website and you go to test it and you get a big nasty message that says something to the effect of<br />
<code><strong>Forbidden</strong><br />
You don't have permission to access / on this server.</code><br />
What did you do? Better yet, what <strong>do</strong> you do.  </p>
<p>Fret not, this is a very easy error to fix.  As the error says, this is often caused by a permissions issue.  The most common problem is that the directory you are trying to access does not have a valid index page in it (index.html, index.php, etc) and Directory Browsing is not enabled in your httpd.conf file or .htaccess file.  Make sure you have a valid index file, as defined by your httpd.conf file.  To enable Directory browsing (not the safest thing to do) make the following changes to either the .htaccess file of your domain or the httpd.conf file&#8217;s Virtual Host setting for this domain:</p>
<p><strong>.htaccess</strong><br />
<code>Options Indexes</code><br />
<strong>httpd.conf</strong><br />
<code>&lt;Directory /your/domain/directory/&gt;<br />
Options Indexes<br />
&lt;/Directory&gt;</code></p>
<p>If you have a valid index file and you&#8217;re still getting the 403 Forbidden error, next check for an .htaccess file as the directives in there could likely be causing problems.  The easiest way to check this is to rename your .htaccess file to something else like <em>.htaccess.backup</em>.  Check your site now.  If you no longer get the error, you know it&#8217;s something in your .htaccess file.</p>
<p>If you have a valid index file and no .htaccess file and you still have the 403 Forbidden error, one last thing to check is the permissions on the public_html directory of your domain.  This directory should be set to 755 permissions (rwxr-xr-x) to enable web browsing.  The world user <strong>needs</strong> read and execute permissions for web users to be able to access your site.  You will also want to make sure that the files themselves that are being accessed have the proper permissions on them, typically 644 for files (rw-r&#8211;r&#8211;), unless they are CGI files (Perl, Python, Ruby) which need to have execute permissions and shoud be set to 755 (rwx-r-xr-x).</p>
<p>These are the most common issues that can cause a 403 Forbidden error on your website and should be able to resolve 99% of 403 errors you see.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/3igEkTHvQ-l1Dp_YSoI_9b57qrI/0/da"><img src="http://feedads.g.doubleclick.net/~a/3igEkTHvQ-l1Dp_YSoI_9b57qrI/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/3igEkTHvQ-l1Dp_YSoI_9b57qrI/1/da"><img src="http://feedads.g.doubleclick.net/~a/3igEkTHvQ-l1Dp_YSoI_9b57qrI/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=7QQhofab-aQ:fCMbA75XTSc:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=7QQhofab-aQ:fCMbA75XTSc:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?i=7QQhofab-aQ:fCMbA75XTSc:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=7QQhofab-aQ:fCMbA75XTSc:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=7QQhofab-aQ:fCMbA75XTSc:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?i=7QQhofab-aQ:fCMbA75XTSc:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=7QQhofab-aQ:fCMbA75XTSc:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=7QQhofab-aQ:fCMbA75XTSc:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?i=7QQhofab-aQ:fCMbA75XTSc:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=7QQhofab-aQ:fCMbA75XTSc:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?i=7QQhofab-aQ:fCMbA75XTSc:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=7QQhofab-aQ:fCMbA75XTSc:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=7QQhofab-aQ:fCMbA75XTSc:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=7QQhofab-aQ:fCMbA75XTSc:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/PoundBangWhack/~4/7QQhofab-aQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.poundbangwhack.com/2009/09/04/how-to-fix-a-403-forbidden-error-on-your-website/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lots of Upcoming Projects</title>
		<link>http://www.poundbangwhack.com/2009/07/13/upcoming-projects/</link>
		<comments>http://www.poundbangwhack.com/2009/07/13/upcoming-projects/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 02:47:18 +0000</pubDate>
		<dc:creator>Mark Stoecker</dc:creator>
				<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://www.poundbangwhack.com/?p=990</guid>
		<description><![CDATA[So all of my dedicated readers out there (both of you) who may be wondering where the posts have been, you can rest easy easier.  I have been working on a number of pretty big projects lately that have been taking up most of my time and just started another one.  I&#8217;ll try [...]]]></description>
			<content:encoded><![CDATA[<p>So all of my dedicated readers out there (both of you) who may be wondering where the posts have been, you can rest <strike>easy</strike> easier.  I have been working on a number of pretty big projects lately that have been taking up most of my time and just started another one.  I&#8217;ll try to continue posting as often as I can during this development time, but as you can see, they have slipped a bit.  I&#8217;m excited about all the projects I have and will post them here, of course, once completed, and maybe even some progress updates.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/Tjx65kxi4QrrBz4m7S6YGFIi9ko/0/da"><img src="http://feedads.g.doubleclick.net/~a/Tjx65kxi4QrrBz4m7S6YGFIi9ko/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/Tjx65kxi4QrrBz4m7S6YGFIi9ko/1/da"><img src="http://feedads.g.doubleclick.net/~a/Tjx65kxi4QrrBz4m7S6YGFIi9ko/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=OAogNrc1jsM:VG9aKoTrVs4:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=OAogNrc1jsM:VG9aKoTrVs4:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?i=OAogNrc1jsM:VG9aKoTrVs4:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=OAogNrc1jsM:VG9aKoTrVs4:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=OAogNrc1jsM:VG9aKoTrVs4:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?i=OAogNrc1jsM:VG9aKoTrVs4:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=OAogNrc1jsM:VG9aKoTrVs4:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=OAogNrc1jsM:VG9aKoTrVs4:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?i=OAogNrc1jsM:VG9aKoTrVs4:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=OAogNrc1jsM:VG9aKoTrVs4:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?i=OAogNrc1jsM:VG9aKoTrVs4:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=OAogNrc1jsM:VG9aKoTrVs4:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=OAogNrc1jsM:VG9aKoTrVs4:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=OAogNrc1jsM:VG9aKoTrVs4:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/PoundBangWhack/~4/OAogNrc1jsM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.poundbangwhack.com/2009/07/13/upcoming-projects/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Cheat Sheets Posted</title>
		<link>http://www.poundbangwhack.com/2009/06/28/new-cheat-sheets-posted/</link>
		<comments>http://www.poundbangwhack.com/2009/06/28/new-cheat-sheets-posted/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 06:03:54 +0000</pubDate>
		<dc:creator>Mark Stoecker</dc:creator>
				<category><![CDATA[Other]]></category>
		<category><![CDATA[Cheat Sheet]]></category>

		<guid isPermaLink="false">http://www.poundbangwhack.com/?p=956</guid>
		<description><![CDATA[So it&#8217;s been a while since I posted (about a week).  I&#8217;ve been trying to continue to learn as much as I can not only about blogging, but about web design, programming, and Linux in general.  To see what I&#8217;ve been reading, check out my Twitter profile.
I have reworked my cheat sheets and [...]]]></description>
			<content:encoded><![CDATA[<p>So it&#8217;s been a while since I posted (about a week).  I&#8217;ve been trying to continue to learn as much as I can not only about blogging, but about web design, programming, and Linux in general.  To see what I&#8217;ve been reading, <a href="http://twitter.com/mstoecker">check out my Twitter profile.</a></p>
<p>I have reworked my <a href="http://www.poundbangwhack.com/cheat-sheets">cheat sheets</a> and now have specific pages (and PDF versions) for each topic of cheat sheet instead of one large cheat sheet.  I will be expanding all of them as time allows, but until then&#8230;enjoy!</p>

<p><a href="http://feedads.g.doubleclick.net/~a/deCRHCKS755rMe5hXYjcbr9cgFU/0/da"><img src="http://feedads.g.doubleclick.net/~a/deCRHCKS755rMe5hXYjcbr9cgFU/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/deCRHCKS755rMe5hXYjcbr9cgFU/1/da"><img src="http://feedads.g.doubleclick.net/~a/deCRHCKS755rMe5hXYjcbr9cgFU/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=xpJNQATsGAE:3J5zzeyd3fg:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=xpJNQATsGAE:3J5zzeyd3fg:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?i=xpJNQATsGAE:3J5zzeyd3fg:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=xpJNQATsGAE:3J5zzeyd3fg:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=xpJNQATsGAE:3J5zzeyd3fg:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?i=xpJNQATsGAE:3J5zzeyd3fg:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=xpJNQATsGAE:3J5zzeyd3fg:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=xpJNQATsGAE:3J5zzeyd3fg:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?i=xpJNQATsGAE:3J5zzeyd3fg:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=xpJNQATsGAE:3J5zzeyd3fg:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?i=xpJNQATsGAE:3J5zzeyd3fg:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=xpJNQATsGAE:3J5zzeyd3fg:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=xpJNQATsGAE:3J5zzeyd3fg:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=xpJNQATsGAE:3J5zzeyd3fg:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/PoundBangWhack/~4/xpJNQATsGAE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.poundbangwhack.com/2009/06/28/new-cheat-sheets-posted/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How Great is IE8? Just ask Microsoft!</title>
		<link>http://www.poundbangwhack.com/2009/06/22/how-great-is-ie8-just-ask-microsoft/</link>
		<comments>http://www.poundbangwhack.com/2009/06/22/how-great-is-ie8-just-ask-microsoft/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 06:30:32 +0000</pubDate>
		<dc:creator>Mark Stoecker</dc:creator>
				<category><![CDATA[Other]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://www.poundbangwhack.com/?p=815</guid>
		<description><![CDATA[Needless to say, Microsoft has steadily been losing it's browser market share since Firefox (Mozilla) first came on the scene.  <a href="http://www.w3schools.com/browsers/browsers_stats.asp" target="_blank">According to W3Schools.com browser statistics</a> Microsoft had a nearly 85% market share in browsers in 2003 when the Mozilla (pre-Firefox) browser was released, or at least started being tracked.  Since then, Firefox's market share has grown to nearly 50%, just recently overtaking Microsoft for the majority market share for browsers.  Now for nearly the last two years, Firefox has been the single most used browser, however this is due to differing versions of Microsoft's IE browser (6 and 7), which collectively had a larger market share.  Plus with the release of Google Chrome late last year, that is yet another solid browser Microsoft must compete with.]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;ll admit, I havn&#8217;t installed IE8 yet.  Why? I&#8217;m just not a big fan of Microsoft!  I havn&#8217;t yet had a new web design client yet either since the release of IE8, so I&#8217;ve had no reason to test in it.  Now granted, I have heard good things about the new IE8 and I read some early reviews that looked promising.  To a web developer like myself, the most promising aspect of IE8 is going to be the better <acronym title="World Wide Web Consortium">W3C</acronym> standards support.  Anyone who has done serious web design knows how awfully Microsoft has failed in this arena in the past (IE6 and earlier).  Sure there&#8217;s a lot of other cool new features that I&#8217;ve read about too, but it&#8217;s going to <strong>seriously</strong> take a lot to ween me away from Firefox.  Why?  It&#8217;s fast.  It&#8217;s lightweight (memory consumption).  It&#8217;s extensible (add-ons).  It has better standards support.  Shall I continue?  I could, but I don&#8217;t think I need to.<br />
<span id="more-815"></span><br />
Needless to say, Microsoft has steadily been losing it&#8217;s browser market share since Firefox (Mozilla) first came on the scene.  <a href="http://www.w3schools.com/browsers/browsers_stats.asp" target="_blank">According to W3Schools.com browser statistics</a> Microsoft had a nearly 85% market share in browsers in 2003 when the Mozilla (pre-Firefox) browser was released, or at least started being tracked.  Since then, Firefox&#8217;s market share has grown to nearly 50%, just recently overtaking Microsoft for the majority market share for browsers.  Now for nearly the last two years, Firefox has been the single most used browser, however this is due to differing versions of Microsoft&#8217;s IE browser (6 and 7), which collectively had a larger market share.  Plus with the release of Google Chrome late last year, that is yet another solid browser Microsoft must compete with.</p>
<p>Microsoft has been working hard (I assume) on all of their new products and are trying to build the hype around each of them as they are losing ground everywhere.  In the &#8220;Mac vs. PC&#8221; commercials, Microsoft got pummeled.  So they came back with their &#8220;I&#8217;m a PC&#8221; commercials, which are interesting commercials.  They recently launched the new <strike>search</strike> decision engine Bing (which has been good to me so far) with a slough of TV commercials for it focusing on &#8220;search overload&#8221; from the other search engines.  Again, good commercials.  But how are they going to compete in the Browser Wars?  Easy!  Compare your product based on features only you have or in a way that you can say the other browsers don&#8217;t have it or are lacking in it.  I must say, they have some good Marketing folks over at Microsoft.  What am I talking about, you ask?  Microsoft has released a &#8220;comparison chart&#8221; pitting IE8 against Firefox and Chrome and guess what?  Microsoft says that IE8 is better than the other two!  Thanks Microsoft, but I&#8217;ll do my own testing, or at least wait for an impartial third-party to give me some honest results.  </p>
<p><a href="http://www.microsoft.com/windows/internet-explorer/get-the-facts/browser-comparison.aspx" target="_blank">Check out the full chart (for a good laugh) here</a></p>
<p><em>I&#8217;m not the only one who finds this amusing either.  There have been 1280 comments on this &#8220;comparison chart&#8221; at <a href="http://www.reddit.com/r/technology/comments/8tkae/is_this_a_joke_microsofts_version_of_browser/" target="_blank">Reddit</a> as well.</em></p>

<p><a href="http://feedads.g.doubleclick.net/~a/iSFPML6y0w5Qzh0LABCxBAPGdac/0/da"><img src="http://feedads.g.doubleclick.net/~a/iSFPML6y0w5Qzh0LABCxBAPGdac/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/iSFPML6y0w5Qzh0LABCxBAPGdac/1/da"><img src="http://feedads.g.doubleclick.net/~a/iSFPML6y0w5Qzh0LABCxBAPGdac/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=jwQ4hiJFRRY:M5x6hQQQmh8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=jwQ4hiJFRRY:M5x6hQQQmh8:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?i=jwQ4hiJFRRY:M5x6hQQQmh8:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=jwQ4hiJFRRY:M5x6hQQQmh8:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=jwQ4hiJFRRY:M5x6hQQQmh8:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?i=jwQ4hiJFRRY:M5x6hQQQmh8:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=jwQ4hiJFRRY:M5x6hQQQmh8:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=jwQ4hiJFRRY:M5x6hQQQmh8:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?i=jwQ4hiJFRRY:M5x6hQQQmh8:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=jwQ4hiJFRRY:M5x6hQQQmh8:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?i=jwQ4hiJFRRY:M5x6hQQQmh8:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=jwQ4hiJFRRY:M5x6hQQQmh8:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=jwQ4hiJFRRY:M5x6hQQQmh8:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=jwQ4hiJFRRY:M5x6hQQQmh8:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/PoundBangWhack/~4/jwQ4hiJFRRY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.poundbangwhack.com/2009/06/22/how-great-is-ie8-just-ask-microsoft/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to Read Email Headers</title>
		<link>http://www.poundbangwhack.com/2009/06/19/how-to-read-email-headers/</link>
		<comments>http://www.poundbangwhack.com/2009/06/19/how-to-read-email-headers/#comments</comments>
		<pubDate>Sat, 20 Jun 2009 05:10:59 +0000</pubDate>
		<dc:creator>Mark Stoecker</dc:creator>
				<category><![CDATA[Email]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[Troubleshooting]]></category>

		<guid isPermaLink="false">http://www.poundbangwhack.com/?p=814</guid>
		<description><![CDATA[Sooner or later, people who run their own server, or email server, are going to run into email issues.  In earlier posts, I discussed how to configure an alternate port for Qmail as well as how to test if your email server is working.  This post touches on <strong>how to read email headers</strong> which can be useful when your email delivery is delayed to find out where the delay is occurring.]]></description>
			<content:encoded><![CDATA[<p>Sooner or later, people who run their own server, or email server, are going to run into email issues.  In earlier posts, I discussed <a href="http://www.poundbangwhack.com/2009/06/11/how-to-configure-an-alternate-port-for-qmail/">how to configure an alternate port for Qmail</a> as well as <a href="http://www.poundbangwhack.com/2009/06/08/2-surefire-ways-to-test-if-your-email-is-working/">how to test if your email server is working.</a>  This post touches on <strong>how to read email headers</strong> which can be useful when your email delivery is delayed to find out where the delay is occurring.<br />
<span id="more-814"></span><br />
The first thing about reading email headers, is that they read backwards &#8211; bottom to top.  Each new entry in the headers get&#8217;s added at the top as the headers continue to grow.  Now, the majority of the information you want to look at when troubleshooting a delivery delay is in the <strong>Received</strong> sections.  The information above and below that, while useful for other purposes, is not really necessary for what we&#8217;re looking for here.  For an example, I have provided the headers from a test email I sent between two different accounts I have on two different mail servers.  I have stricken out the information I was discussing above that is not necessary to us:</p>
<p><code><strike>From - Mon Jun 22 15:43:01 2009<br />
X-Account-Key: account6<br />
X-UIDL: UID52-1242085352<br />
X-Mozilla-Status: 0001<br />
X-Mozilla-Status2: 00000000<br />
X-Mozilla-Keys:</strike><br />
Received: (qmail 11994 invoked from network); 22 Jun 2009 15:42:58 -0700<br />
Received: from smtpauth01.prod.mesa1.secureserver.net (64.202.165.181)<br />
  by ip-97-74-114-123.ip.secureserver.net with SMTP; 22 Jun 2009 15:42:58 -0700<br />
Received: (qmail 12509 invoked from network); 22 Jun 2009 22:42:57 -0000<br />
Received: from unknown (172.21.44.241)<br />
  by smtpauth01.prod.mesa1.secureserver.net (64.202.165.181) with ESMTP; 22 Jun 2009 22:42:57 -0000<br />
Message-ID: &lt;4A4008F1.8020205@desertwebdesigns.com&gt;<br />
Date: Mon, 22 Jun 2009 15:42:57 -0700<br />
<strike>From: Mark Stoecker &lt;webmaster@desertwebdesigns.com&gt;<br />
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)<br />
MIME-Version: 1.0<br />
To: admin@poundbangwhack.com<br />
Subject: Test Email<br />
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br />
Content-Transfer-Encoding: 7bit</strike></code></p>
<p>When troubleshooting email delays, the first thing you want to do is get all your times in the same time zone.  Some servers will timestamp based on their current time, some will timestamp based on <acronym title="Greenwich Mean Time">GMT.</acronym>  It will be easier to read if they are all the same timezone.  In the example above, there are 6 timestamps we need to be concerned with, 2 of which are in <acronym title="Greenwich Mean Time">GMT.</acronym></p>
<p>After getting all your times sorted out, the next thing you want to do is follow the delivery path (from bottom to top).  Each server that the message passes through will stamp it.  The tricky thing about reading the <span class="pre">Received:</span> lines is that they list first the sender, then the recipient: <code>Received: from smtpauth01.prod.mesa1.secureserver.net (64.202.165.181)<br />
  by ip-97-74-114-123.ip.secureserver.net with SMTP; 22 Jun 2009 15:42:58 -0700</code>  As you can see here, the message was received <strong>from</strong> smtpauth01.prod.mesa1.secureserver.net <strong>by</strong> ip-97-74-114-123.ip.secureserver.net.  If this gets confusing, just rearrange it to make it easier: <code>Received <strong>by</strong> ip-97-74-114-123.ip.secureserver.net <strong>from</strong> smtpauth01.prod.mesa1.secureserver.net</code>  Now it makes a bit more sense.  </p>
<p>So if we were to take the critical delivery points in the chain, fix the timestamps, rearrange the delivery notices, and re-order the server stamps so it reads top-to-bottom like we do, our headers would read something like this:<code>Date: Mon, 22 Jun 2009 <strong>15:42:57</strong> -0700<br />
Received: by smtpauth01.prod.mesa1.secureserver.net (64.202.165.181) from unknown (172.21.44.241) with ESMTP @ 22 Jun 2009 <strong>15:42:57</strong> -0700<br />
Received: (qmail 12509 invoked from network) @ 22 Jun 2009 <strong>15:42:57</strong> -0700<br />
Received: by ip-97-74-114-123.ip.secureserver.net from smtpauth01.prod.mesa1.secureserver.net (64.202.165.181) with SMTP @ 22 Jun 2009 <strong>15:42:58</strong> -0700<br />
Received: (qmail 11994 invoked from network) @ 22 Jun 2009 <strong>15:42:58</strong> -0700<br />
From - Mon Jun 22 <strong>15:43:01</strong> 2009</code>  If you compare the two &#8220;headers&#8221; carefully, you will see that all I did was change the timestamps to MST, swap the &#8220;Received From&#8221; and &#8220;Received By&#8221;, and ordered them top-to-bottom instead of bottom-to-top.  Looking at the headers now, there was obviously no delay in this message.  However, had one of the timestamps been off by 30-40+ minutes, looking at the headers this way will help us determine where the delay is.  We would know that when the message came in late at one step, the server it came from is having the problem.</p>
<p>There are plenty of other uses for reviewing mail headers that are too numerous to count in this post.  However, if you&#8217;re email is not delivering in a timely manner, this will help you track down the cause.  Once you get the hang of reading email headers, you&#8217;ll be able to read them as they&#8217;re printed without having to rewrite them.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/phjIn8SvG1lV79KQ-uflKY2tMAQ/0/da"><img src="http://feedads.g.doubleclick.net/~a/phjIn8SvG1lV79KQ-uflKY2tMAQ/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/phjIn8SvG1lV79KQ-uflKY2tMAQ/1/da"><img src="http://feedads.g.doubleclick.net/~a/phjIn8SvG1lV79KQ-uflKY2tMAQ/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=J5U_wX57PDk:WR5xuoMZNrw:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=J5U_wX57PDk:WR5xuoMZNrw:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?i=J5U_wX57PDk:WR5xuoMZNrw:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=J5U_wX57PDk:WR5xuoMZNrw:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=J5U_wX57PDk:WR5xuoMZNrw:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?i=J5U_wX57PDk:WR5xuoMZNrw:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=J5U_wX57PDk:WR5xuoMZNrw:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=J5U_wX57PDk:WR5xuoMZNrw:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?i=J5U_wX57PDk:WR5xuoMZNrw:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=J5U_wX57PDk:WR5xuoMZNrw:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?i=J5U_wX57PDk:WR5xuoMZNrw:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=J5U_wX57PDk:WR5xuoMZNrw:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=J5U_wX57PDk:WR5xuoMZNrw:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=J5U_wX57PDk:WR5xuoMZNrw:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/PoundBangWhack/~4/J5U_wX57PDk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.poundbangwhack.com/2009/06/19/how-to-read-email-headers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Post to Twitter from a Linux Shell</title>
		<link>http://www.poundbangwhack.com/2009/06/18/how-to-post-to-twitter-from-a-linux-shell/</link>
		<comments>http://www.poundbangwhack.com/2009/06/18/how-to-post-to-twitter-from-a-linux-shell/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 23:08:59 +0000</pubDate>
		<dc:creator>Mark Stoecker</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[SSH/Command Line]]></category>
		<category><![CDATA[Shell Scripts]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[Command-Line]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://www.poundbangwhack.com/?p=784</guid>
		<description><![CDATA[I had a little downtime today and work and decided to write a shell script that I could use to tweet from the shell of my Linux server.  The reason is that Twitter is one of many social networking sites that is blocked at my workplace.  However, I do have access to my [...]]]></description>
			<content:encoded><![CDATA[<p>I had a little downtime today and work and decided to write a shell script that I could use to tweet from the shell of my Linux server.  The reason is that <strong>Twitter is one of many social networking sites</strong> that is blocked at my workplace.  However, I do have access to my server and <a href="http://www.commandlinefu.com/commands/view/176/update-twitter-via-curl" target="_blank">found a great one-liner on commandlinefu.com to update twitter via curl</a>.  I decided to expand on this a bit and wrote a shell script that offers a bit more than merely posting a tweet.  <a href="http://www.poundbangwhack.com/shell/post-to-twitter/">Check out my shell script to post to Twitter here.</a></p>

<p><a href="http://feedads.g.doubleclick.net/~a/DzO7sD49gYAVdsy0UUQTRGqsX9I/0/da"><img src="http://feedads.g.doubleclick.net/~a/DzO7sD49gYAVdsy0UUQTRGqsX9I/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/DzO7sD49gYAVdsy0UUQTRGqsX9I/1/da"><img src="http://feedads.g.doubleclick.net/~a/DzO7sD49gYAVdsy0UUQTRGqsX9I/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=NbfT8ltO94M:543wGgdcRt8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=NbfT8ltO94M:543wGgdcRt8:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?i=NbfT8ltO94M:543wGgdcRt8:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=NbfT8ltO94M:543wGgdcRt8:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=NbfT8ltO94M:543wGgdcRt8:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?i=NbfT8ltO94M:543wGgdcRt8:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=NbfT8ltO94M:543wGgdcRt8:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=NbfT8ltO94M:543wGgdcRt8:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?i=NbfT8ltO94M:543wGgdcRt8:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=NbfT8ltO94M:543wGgdcRt8:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?i=NbfT8ltO94M:543wGgdcRt8:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=NbfT8ltO94M:543wGgdcRt8:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=NbfT8ltO94M:543wGgdcRt8:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=NbfT8ltO94M:543wGgdcRt8:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/PoundBangWhack/~4/NbfT8ltO94M" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.poundbangwhack.com/2009/06/18/how-to-post-to-twitter-from-a-linux-shell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New GreaseMonkey Script: Highlight your Domain in Search Results</title>
		<link>http://www.poundbangwhack.com/2009/06/17/new-greasemonkey-script-highlight-your-domain-in-search-results/</link>
		<comments>http://www.poundbangwhack.com/2009/06/17/new-greasemonkey-script-highlight-your-domain-in-search-results/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 05:21:35 +0000</pubDate>
		<dc:creator>Mark Stoecker</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[GreaseMonkey Scripts]]></category>
		<category><![CDATA[JavaScript Scripts]]></category>
		<category><![CDATA[Search Engines]]></category>
		<category><![CDATA[Add-Ons]]></category>
		<category><![CDATA[Bing]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[GreaseMonkey]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[SERPs]]></category>
		<category><![CDATA[Yahoo]]></category>

		<guid isPermaLink="false">http://www.poundbangwhack.com/?p=711</guid>
		<description><![CDATA[The concept for my script came from the fact that my Google Webmaster tools either don't report properly, or I'm not understanding them.  One of the features of the Webmaster Tools is to show your site's <strong>Top Search Queries</strong> and your site's ranking.  Well needless to say, when it claims I rank 7 for a specific phrase and I actually rank 146 for that phrase, it's a bit misleading.  The problem is I would search for that phrase and it would take me forever to find my domain in the search results.  

With this GreaseMonkey Script, you set the domain you wish to locate and a highlight color (default is light red) and when you search in Google, Bing, or Yahoo!, results for your website will be highlighted.]]></description>
			<content:encoded><![CDATA[<p>I completed my first <a href="https://addons.mozilla.org/en-US/firefox/addon/748" target="_blank">GreaseMonkey</a> script for public release tonight.  For those who don&#8217;t use it, or have not heard of it, <strong><a href="https://addons.mozilla.org/en-US/firefox/addon/748" target="_blank">GreaseMonkey</a> is a Firefox Add-on that allows users to write or install custom javascripts to alter the way a website functions</strong>.  It is one of Firefox&#8217;s most popular add-ons with over 20 million downloads.  Literally thousands of <a href="http://userscripts.org" target="_blank">GreaseMonkey scripts are available at userscripts.org</a> and new scripts are added constantly.<br />
<span id="more-711"></span><br />
The concept for my script came from the fact that my Google Webmaster tools either don&#8217;t report properly, or I&#8217;m not understanding them.  One of the features of the Webmaster Tools is to show your site&#8217;s <strong>Top Search Queries</strong> and your site&#8217;s ranking.  Well needless to say, when it claims I rank 7 for a specific phrase and I actually rank 146 for that phrase, it&#8217;s a bit misleading.  The problem is I would search for that phrase and it would take me forever to find my domain in the search results.  </p>
<p>With this GreaseMonkey Script, you set the domain you wish to locate and a highlight color (default is light red) and when you search in Google, Bing, or Yahoo!, results for your website will be highlighted.</p>
<p><a href="http://www.poundbangwhack.com/greasemonkey/highlight-domain-in-search-results/">Click here to visit the home page for this script</a><br />
<a href="https://addons.mozilla.org/en-US/firefox/downloads/latest/748/addon-748-latest.xpi">Click here to Install GreaseMonkey</a><br />
<a href="http://www.poundbangwhack.com/scripts/greasemonkey/locate_domain_in_search_.user.js" onclick="javascript: pageTracker._trackPageview('/downloads/gm/highlight-domain-in-search');">Click here to Install Script</a><br />
<a href="http://userscripts.org/scripts/show/51837" target="_blank">Click here to visit the UserScripts.org page for this script.</a></p>

<p><a href="http://feedads.g.doubleclick.net/~a/4XGfPPx3lX9AvxdEd5jba4DMzKI/0/da"><img src="http://feedads.g.doubleclick.net/~a/4XGfPPx3lX9AvxdEd5jba4DMzKI/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/4XGfPPx3lX9AvxdEd5jba4DMzKI/1/da"><img src="http://feedads.g.doubleclick.net/~a/4XGfPPx3lX9AvxdEd5jba4DMzKI/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=p787DvkmkO4:v2o201_sq84:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=p787DvkmkO4:v2o201_sq84:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?i=p787DvkmkO4:v2o201_sq84:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=p787DvkmkO4:v2o201_sq84:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=p787DvkmkO4:v2o201_sq84:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?i=p787DvkmkO4:v2o201_sq84:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=p787DvkmkO4:v2o201_sq84:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=p787DvkmkO4:v2o201_sq84:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?i=p787DvkmkO4:v2o201_sq84:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=p787DvkmkO4:v2o201_sq84:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?i=p787DvkmkO4:v2o201_sq84:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=p787DvkmkO4:v2o201_sq84:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=p787DvkmkO4:v2o201_sq84:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=p787DvkmkO4:v2o201_sq84:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/PoundBangWhack/~4/p787DvkmkO4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.poundbangwhack.com/2009/06/17/new-greasemonkey-script-highlight-your-domain-in-search-results/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Create a File of a Specific Size on Linux</title>
		<link>http://www.poundbangwhack.com/2009/06/16/how-to-create-a-file-of-a-specific-size-on-linux/</link>
		<comments>http://www.poundbangwhack.com/2009/06/16/how-to-create-a-file-of-a-specific-size-on-linux/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 04:47:38 +0000</pubDate>
		<dc:creator>Mark Stoecker</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[SSH/Command Line]]></category>
		<category><![CDATA[dd]]></category>
		<category><![CDATA[grep]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://www.poundbangwhack.com/?p=705</guid>
		<description><![CDATA[Finding a file that just happens to be about 10 MB, 20 MB, 50 MB, etc is not the easiest thing to do, unless you have <abbr title="Secure Shell">SSH</abbr>/Command Line access on a Linux OS. To create a file of a specific size, run the following command from a shell prompt: <code>dd if=/dev/zero of=testfile.txt bs=1M count=10</code>  The above command will create an "empty" 10 MB file named <em>testfile.txt</em>.  I say "empty" because <span class="pre">/dev/zero</span> will actually write as many NUL (null) characters as requested, in our case, 10 MB.]]></description>
			<content:encoded><![CDATA[<p>I was doing some testing the other night of a web-based file uploader I had built into one of the websites I had developed.  The website is hosted on a <a href="http://www.jdoqocy.com/click-3525344-10378494" target="_blank" onmouseover="window.status='http://www.godaddy.com';return true;" onmouseout="window.status=' ';return true;">GoDaddy.com shared hosting account</a><br />
<img src="http://www.awltovhc.com/image-3525344-10378494" width="1" height="1" border="0"/> and allows my client to upload images, videos, and documents to her website directly through the browser.  We had been running into a problem though with some files not uploading properly and I had a feeling it had to do with <abbr title="PHP Hypertext Preprocessor">PHP</abbr> limits imposed by the server.  Even though I had raised the limits in a php.ini file, I thought those might be getting overwritten by the server.<br />
<span id="more-705"></span><br />
To test this, I needed some files of specific sizes to test out the limits.  Finding a file that just happens to be about 10 MB, 20 MB, 50 MB, etc is not the easiest thing to do, unless you have <strong><abbr title="Secure Shell">SSH</abbr>/Command Line access on a Linux OS</strong>. To create a file of a specific size, run the following command from a shell prompt: <code>dd if=/dev/zero of=testfile.txt bs=1M count=10</code>  The above command will create an &#8220;empty&#8221; 10 MB file named <em>testfile.txt</em>.  I say &#8220;empty&#8221; because <span class="pre">/dev/zero</span> will actually write as many NUL (null) characters as requested, in our case, 10 MB.  If content matters (and if you just need a file for the size, it shouldn&#8217;t) you can use <span class="pre">/dev/urandom</span> as the input file instead and you will get 10 MB worth of gibberish.  The output of this command will look something like this: <code>[root@hostname ~]# dd if=/dev/zero of=testfile.txt bs=1M count=10<br />
10+0 records in<br />
10+0 records out<br />
10485760 bytes (10 MB) copied, 0.021345 s, 491 MB/s<br />
<span style="line-height: 20px;"></span><br />
[root@hostname ~]# ls -lh | grep testfile<br />
-rw-r--r-- 1 root root  10M Jun 17 22:21 testfile.txt<br />
</code></p>
<p>The input parameters are as follow:</p>
<ul>
<li><strong>if</strong>: Input File &#8211; force <span class="pre">dd</span> to read from the file specified, in this case /dev/zero (or /dev/urandom) instead of standard input</li>
<li><strong>of</strong>: Output File &#8211; force <span class="pre">dd</span> to write to the specified file instead of standard output</li>
<li><strong>bs</strong>: Byte Size &#8211; force <span class="pre">dd</span> to use the specified amount of bytes at a time for both input and output (in this case 1 MB at a time)</li>
<li><strong>count</strong>: Count &#8211; tell <span class="pre">dd</span> to copy the specified number of input blocks at a time (in our case 10 blocks of 1 MB)</li>
</ul>
<p><strong>Important Note: If you don&#8217;t know what you&#8217;re doing, you can do some serious damage with the dd command with the wrong parameters specified, such as erase an entire disk partition.  The above commands are provided for informational purposes only.  I am not responsible for any damage done by executing such commands incorrectly on your system.  If you are unsure about executing this command, please, by all means, verify the information provided before executing it.</strong></p>

<p><a href="http://feedads.g.doubleclick.net/~a/sv7tYJTZ4Ub70bJ6nEDYe6i4wTU/0/da"><img src="http://feedads.g.doubleclick.net/~a/sv7tYJTZ4Ub70bJ6nEDYe6i4wTU/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/sv7tYJTZ4Ub70bJ6nEDYe6i4wTU/1/da"><img src="http://feedads.g.doubleclick.net/~a/sv7tYJTZ4Ub70bJ6nEDYe6i4wTU/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=DhPN0HX8CME:nDHcObLlR_Y:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=DhPN0HX8CME:nDHcObLlR_Y:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?i=DhPN0HX8CME:nDHcObLlR_Y:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=DhPN0HX8CME:nDHcObLlR_Y:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=DhPN0HX8CME:nDHcObLlR_Y:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?i=DhPN0HX8CME:nDHcObLlR_Y:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=DhPN0HX8CME:nDHcObLlR_Y:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=DhPN0HX8CME:nDHcObLlR_Y:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?i=DhPN0HX8CME:nDHcObLlR_Y:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=DhPN0HX8CME:nDHcObLlR_Y:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?i=DhPN0HX8CME:nDHcObLlR_Y:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=DhPN0HX8CME:nDHcObLlR_Y:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=DhPN0HX8CME:nDHcObLlR_Y:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=DhPN0HX8CME:nDHcObLlR_Y:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/PoundBangWhack/~4/DhPN0HX8CME" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.poundbangwhack.com/2009/06/16/how-to-create-a-file-of-a-specific-size-on-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Insert Google Ads into the Content of your WordPress Post</title>
		<link>http://www.poundbangwhack.com/2009/06/15/how-to-insert-google-ads-into-the-content-of-your-wordpress-post/</link>
		<comments>http://www.poundbangwhack.com/2009/06/15/how-to-insert-google-ads-into-the-content-of-your-wordpress-post/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 05:26:59 +0000</pubDate>
		<dc:creator>Mark Stoecker</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[Wordpress Plugins]]></category>
		<category><![CDATA[Wordpress Themes]]></category>
		<category><![CDATA[Adsense]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.poundbangwhack.com/?p=662</guid>
		<description><![CDATA[Have you ever wondered how to get your Google Ads inside your post content like I have below?  A couple of days ago, I was trying to figure out <strong>how to insert Google Adsense Ads directly into my post content</strong> without pasting the whole Adsense code.  I came across an article that detailed exactly what I was looking for: <a href="http://www.flexijourney.com/blog/insert-google-adsense-code-anywhere-in-your-wordpress-article/" taret="_blank">Insert Google Adsense Code Anywhere In Your Wordpress Article</a>.]]></description>
			<content:encoded><![CDATA[<p>Have you ever wondered how to get your Google Ads inside your post content like I have below?  A couple of days ago, I was trying to figure out <strong>how to insert Google Adsense Ads directly into my post content</strong> without pasting the whole Adsense code.  I came across an article that detailed exactly what I was looking for: <a href="http://www.flexijourney.com/blog/insert-google-adsense-code-anywhere-in-your-wordpress-article/" taret="_blank">Insert Google Adsense Code Anywhere In Your Wordpress Article</a>.<br />
<span id="more-662"></span></p>
<p class="post_ad_box"><!--Adsense2--></p>
<p>Phillip made a very easy function (posted below) that allows you to insert code for multiple Adsense units into your blog theme&#8217;s functions.php file and then call it with the comment-style tag <span class="pre">&lt;!&#8211;Adsense1&#8211;&gt;</span> (a la <span class="pre">&lt;!&#8211;more&#8211;&gt;</span>).  After modifying the functions.php file, you only need to modify the single.php file to call the function in order to get return the Ads.</p>
<p>The beauty of the function is not only that you can create additional adsense units and call which specific one you need, but that if you happen to place your <span class="pre">&lt;!&#8211;Adsense1&#8211;&gt;</span> code before the <span class="pre">&lt;!&#8211;more&#8211;&gt;</span> tag or within the post excerpt, it will be read as a regular HTML comment since the index.php or archive.php files do not recognize <span class="pre">&lt;!&#8211;Adsense1&#8211;&gt;</span> as a WordPress tag.</p>
<p>Check back on my blog or <a href="http://feeds2.feedburner.com/PoundBangWhack">subscribe to my feed</a> as I plan on turning this function into a WordPress plugin to streamline the installation and use even more.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Edit your theme&#8217;s functions.php file by appending the following lines to the end of the file.  Your functions.php file is located at <strong>/wp-content/themes/[your theme name]/functions.php</strong>.  If you do not have a functions.php file, you can create one with this code (make sure you replace your Adsense Code)</p>
<pre name="code" class="php">function get_the_content_with_formatting ($more_link_text='', $stripteaser=0, $more_file='')
{
   $content = get_the_content($more_link_text, $stripteaser, $more_file);
   $content = apply_filters('the_content', $content);
   $content = str_replace(']]&gt;', ']]&gt;', $content);
   return $content;
}

function AddGoogleAds ($content)
{
$Adsense1_1 = &lt;&lt;&lt;ADSCODE1
&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-9999999999999999";
google_ad_slot = "0000000000";
google_ad_width = 250;
google_ad_height = 250;

//--&gt;
&lt;/script&gt;
&lt;script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;&lt;/script&gt;
ADSCODE1;

$Adsense2 = &lt;&lt;&lt;ADSCODE2
&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-9999999999999999";
google_ad_slot = "1111111111";
google_ad_width = 336;
google_ad_height = 280;

//--&gt;
&lt;/script&gt;
&lt;script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;&lt;/script&gt;ADSCODE2;

$content = str_replace(array('&lt;p&gt;&lt;!--Adsense1--&gt;&lt;/p&gt;','&lt;!--Adsense1--&gt;'),$Adsense1,$content);
$content = str_replace(array('&lt;p&gt;&lt;!--Adsense2--&gt;&lt;/p&gt;','&lt;!--Adsense2--&gt;'),$Adsense2,$content);
return $content;
}
</pre>
<p><a href="http://www.flexijourney.com/blog/insert-google-adsense-code-anywhere-in-your-wordpress-article/" target="_blank">(source: Philip Ze)</a></p>
<p>After you have made the above changes, make the following changes to your single.php file, again in your theme&#8217;s directory.  Find the line with the tag <span class="pre">the_content(<em>parameters</em>)</span> and replace it with the content below:</p>
<pre name="code" class="php">&lt;?php
   $cont = get_the_content_with_formatting();
   $cont = AddGoogleAds($cont);
   echo $cont ;
?&gt;
&lt;?php /* the_content('(more)'); */ ?&gt;</pre>
<p>Again, to insert your ads into your post content, place the tag <span class="pre">&lt;!&#8211;Adsense1&#8211;&gt;</span> or <span class="pre">&lt;!&#8211;Adsense2&#8211;&gt;</span> into your content.  You can continue adding more Adsense units to your functions.php file following the same templaye as what is currently there.  </p>
<p><script language="javascript">
dp.SyntaxHighlighter.ClipboardSwf = 'http://www.poundbangwhack.com/wp-content/uploads/clipboard.swf';
dp.SyntaxHighlighter.HighlightAll('code');
</script></p>

<p><a href="http://feedads.g.doubleclick.net/~a/oVSC6w4xbGYMB2rtReHJl7Fbjp4/0/da"><img src="http://feedads.g.doubleclick.net/~a/oVSC6w4xbGYMB2rtReHJl7Fbjp4/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/oVSC6w4xbGYMB2rtReHJl7Fbjp4/1/da"><img src="http://feedads.g.doubleclick.net/~a/oVSC6w4xbGYMB2rtReHJl7Fbjp4/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=yej7MZa7Fpg:iKhStf5GbyU:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=yej7MZa7Fpg:iKhStf5GbyU:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?i=yej7MZa7Fpg:iKhStf5GbyU:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=yej7MZa7Fpg:iKhStf5GbyU:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=yej7MZa7Fpg:iKhStf5GbyU:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?i=yej7MZa7Fpg:iKhStf5GbyU:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=yej7MZa7Fpg:iKhStf5GbyU:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=yej7MZa7Fpg:iKhStf5GbyU:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?i=yej7MZa7Fpg:iKhStf5GbyU:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=yej7MZa7Fpg:iKhStf5GbyU:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?i=yej7MZa7Fpg:iKhStf5GbyU:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=yej7MZa7Fpg:iKhStf5GbyU:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=yej7MZa7Fpg:iKhStf5GbyU:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/PoundBangWhack?a=yej7MZa7Fpg:iKhStf5GbyU:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/PoundBangWhack?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/PoundBangWhack/~4/yej7MZa7Fpg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.poundbangwhack.com/2009/06/15/how-to-insert-google-ads-into-the-content-of-your-wordpress-post/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss><!-- Dynamic page generated in 0.204 seconds. --><!-- Cached page generated by WP-Super-Cache on 2009-11-12 03:35:37 -->
