<?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>Syfter</title>
	<atom:link href="http://www.syfter.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.syfter.com</link>
	<description></description>
	<lastBuildDate>Wed, 11 Jan 2012 16:30:47 +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>ccvalixso.ru/in.cgi Malware Hack</title>
		<link>http://www.syfter.com/technology/ccvalixso-ruin-cgi-malware-hack/</link>
		<comments>http://www.syfter.com/technology/ccvalixso-ruin-cgi-malware-hack/#comments</comments>
		<pubDate>Thu, 06 Jan 2011 22:30:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Malware]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[.htaccess malware google 301 redirect]]></category>

		<guid isPermaLink="false">http://www.syfter.com/?p=110</guid>
		<description><![CDATA[Well, after a couple hours of searching I finally found the fix to this. Situation : GoDaddy Linux shared hosting.  All sites reporting malware and getting the Google Malware warning page.  I went through and searched the url string in the subject here and deleted all the bad code that was causing the redirects (mostly [...]]]></description>
			<content:encoded><![CDATA[<p>Well, after a couple hours of searching I finally found the fix to this.</p>
<p>Situation : GoDaddy Linux shared hosting.  All sites reporting malware and getting the Google Malware warning page.  I went through and searched the url string in the subject here and deleted all the bad code that was causing the redirects (mostly in .htaccess files).  After I was done, I had the following issue.</p>
<p>If I typed the url directly I would go to the site and no Malware warning from Google.  If I did a google search and went to the site that way&#8230;BAM.  I would get redirected to the above url and the malware warning would come up.  No fun.</p>
<p>What you need to do.  Connect to GoDaddy shared hosting account via SSH.  You will have to enable SSH on your account for this.  Just search GoDaddy help.  Then delete the mailicious code in the .htacess.  I guess when I removed all the other .htaccesses at the /html level and the /html/sitename.com level I didn&#8217;t think to go one directory above the /html to the root of the hosting and search there.  Sure enough that is where the little bastard was.  Screwing up all the sites on the account.</p>
<p>After you delete it make sure you completely clear your browser cache, restart browsers, etc.  You might even need to issue a good dns flush (ipconfig /flushdns) for good measure.  Then go into GoogleWebmaster tools and under Diagnostics-&gt;Malware just submit for re-scan.  They will typically re-scan within 48 hours.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.syfter.com/technology/ccvalixso-ruin-cgi-malware-hack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Chew?</title>
		<link>http://www.syfter.com/featured/how-to-chew/</link>
		<comments>http://www.syfter.com/featured/how-to-chew/#comments</comments>
		<pubDate>Thu, 19 Aug 2010 18:43:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Random Stuff]]></category>
		<category><![CDATA[gum asian market chewing]]></category>

		<guid isPermaLink="false">http://www.syfter.com/?p=77</guid>
		<description><![CDATA[&#160; In case you couldn&#8217;t figure out how to user their product, this ingenious company has included instructions!  A little bit out of the ordinary for me to be posting it but I couldn&#8217;t resist when I saw this after buying a pack of gum at the local Asian market in Fairfax, VA.  My only [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p>In case you couldn&#8217;t figure out how to user their product, this ingenious company has included instructions!  A little bit out of the ordinary for me to be posting it but I couldn&#8217;t resist when I saw this after buying a pack of gum at the local Asian market in Fairfax, VA.  My only question is why they don&#8217;t have instructions on how to walk and chew gum at the same time.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.syfter.com/featured/how-to-chew/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Power of Wget</title>
		<link>http://www.syfter.com/technology/the-power-of-wget/</link>
		<comments>http://www.syfter.com/technology/the-power-of-wget/#comments</comments>
		<pubDate>Wed, 04 Aug 2010 02:45:35 +0000</pubDate>
		<dc:creator>syfter</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[wget]]></category>

		<guid isPermaLink="false">http://www.syfter.com/?p=70</guid>
		<description><![CDATA[This is how I do it. wget -m -k -K -E http://yourdomain.com That stuff is great.]]></description>
			<content:encoded><![CDATA[<p>This is how I do it.</p>
<p>wget -m -k -K -E http://yourdomain.com</p>
<p>That stuff is great.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.syfter.com/technology/the-power-of-wget/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NetSol and session.save_path</title>
		<link>http://www.syfter.com/technology/coding/php/netsol-and-session-save_path/</link>
		<comments>http://www.syfter.com/technology/coding/php/netsol-and-session-save_path/#comments</comments>
		<pubDate>Mon, 26 Jul 2010 17:44:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[Network Solutions]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[session.save_path]]></category>

		<guid isPermaLink="false">http://www.syfter.com/?p=48</guid>
		<description><![CDATA[Ok, so today I installed my little login / registration script that I have used on at least 25 hosting providers to a Network Solutions server. The script is written in php and it uses sessions to validate users as they navigate from page to page. Anyway, I have never had an issue with it [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, so today I installed my little login / registration script that I have used on at least 25 hosting providers to a Network Solutions server.  The script is written in php and it uses sessions to validate users as they navigate from page to page.  Anyway, I have never had an issue with it before and it kept losing the session.  After a little research I verified that the session.save_path in the php.ini was set to nothing!  I edited it to the path for the hosting account and created a tmp directory in the hosting accounts directory structure to hold the session variables.  Issue resolved.</p>
<pre class="brush: php">session.save_path = /data/##/#/###/###/####/user/######/htdocs/tmp</pre>
<p>Thanks Network Solutions for being the only host that makes things harder than they have to be!  Of course, replace the #&#8217;s with your account info.  If you don&#8217;t know what your path is you can get it using php basepath as follows:</p>
<pre class="brush: php">&lt;?php echo basepath('.'); ?&gt;</pre>
<p>Well, I hope this was helpful and saved you some time.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.syfter.com/technology/coding/php/netsol-and-session-save_path/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Hostgator and my.cnf / max_allowed_packet</title>
		<link>http://www.syfter.com/technology/coding/php/hostgator-and-my-cnf-max_allowed_packet/</link>
		<comments>http://www.syfter.com/technology/coding/php/hostgator-and-my-cnf-max_allowed_packet/#comments</comments>
		<pubDate>Wed, 23 Jun 2010 13:53:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[HostGator]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[MediaTemple]]></category>
		<category><![CDATA[mySQL]]></category>
		<category><![CDATA[Payment Gateways]]></category>
		<category><![CDATA[Paypal]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.syfter.com/?p=17</guid>
		<description><![CDATA[What to do when your my.cnf max_allowed_packed causes MySQL Server is Gone error.]]></description>
			<content:encoded><![CDATA[<p>I set up a new VPS with<a title="HostGator VPS Hostin" href="http://bit.ly/9EH127 "> HostGator.com</a>.  The main reason that I didn&#8217;t go with my usual at MediaTemple.net is that <a title="HostGator Shared Hosting" href="http://bit.ly/9EH127 ">HostGator</a> allows you to pay monthly with <a href="http://bit.ly/bFAVPC">Paypal</a>.  MediaTemple support said I had to pay a year up front if I wanted to use <a title="Paypal payments" href="http://bit.ly/bFAVPC">Paypal</a>.  So on to my issue.  I had a couple errors when I was running a script on the server that was doing a ton of database queries and I started getting the dreaded &#8220;MySQL Server has Gone Away&#8221; error.  I knew it hadn&#8217;t gone away because I was logged in to the damned thing.  It was right there in front of me and I was running queries in phpMyAdmin just fine.  So, I did some research and found out that the default setting for:</p>
<p>max_allowed_packet = 1M</p>
<p>I though, wow, that is pretty small these days.  So I changed it to:</p>
<p>max_allowed_packet = 64M</p>
<p>This seems to have fixed all my troubles.  I just wish this worked with my dogs bladders so I wasn&#8217;t having to let them out every 15 minutes.</p>
<p>Hope this helps you too!</p>
<p>UPDATE: In case you are looking for your my.cnf it is at /etc/my.cnf for VPS hosting.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.syfter.com/technology/coding/php/hostgator-and-my-cnf-max_allowed_packet/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Separate header.php and footer.php for Specifc WordPress Pages</title>
		<link>http://www.syfter.com/technology/wordpress/hello-world/</link>
		<comments>http://www.syfter.com/technology/wordpress/hello-world/#comments</comments>
		<pubDate>Mon, 14 Jun 2010 13:57:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Static Content]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.syfter.com/?p=1</guid>
		<description><![CDATA[Separate header.php and footer.php for Specifc Wordpress Pages]]></description>
			<content:encoded><![CDATA[<p>So, today I had a problem.  I needed a splash page for a site I was working on to display instead of the main page for the site.  In addition, that page needed to &#8220;look&#8221; different from the rest of the site.  I didn&#8217;t want the normal menu and links in the footer to show on the splash page.  This was my solution:</p>
<p>I created a custom header.php in my <strong>themes</strong> root directory.  My header.php looks like this:</p>
<pre class="brush: php">&lt;?php

if (is_page('splash')){

include(TEMPLATEPATH.'/header-splash.php');

} else {

include(TEMPLATEPATH.'/header-site.php');

}

?&gt;</pre>
<p>Then I copied my original header into the file header-site.php and made a separate header file called header-splash.php for my splash page.  In the header-splash.php file, I removed the menu and content that I did not want on my splash page that the original header.php file was rendering.<br />
I followed the exact same process as above for the footer.php file.  After this was complete, I created a page template by copying the page.php contents into a new file calling it page-splash.php and making it a template page by putting this at the top:</p>
<pre class="brush: php">&lt;?php

/*

Template Name: Splash Page

*/

?&gt;</pre>
<p>Then, I created a new page (my splash page using that template and in WordPress I set the home page (Settings | Reading) to the new splash page I created.  I also had to go in and modify the menu so the home link pointed to the new main page (in my case ?post=1).  Hope this helps.!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.syfter.com/technology/wordpress/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

