<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="http://feedproxy.google.com/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feedproxy.google.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:series="http://unfoldingneurons.com/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>The Web Hosting Blog</title>
	
	<link>http://blog.readysetconnect.com</link>
	<description>An inside look into ReadySetConnect and the Web Hosting industry</description>
	<pubDate>Tue, 21 Oct 2008 23:04:42 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feedproxy.google.com/readysetconnect/ytcT" type="application/rss+xml" /><feedburner:emailServiceId>readysetconnect/ytcT</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Web hosting plans with 100GB of disk space and 1000GB of bandwidth. Do you really need it?</title>
		<link>http://feedproxy.google.com/~r/readysetconnect/ytcT/~3/miFYADuwFjE/</link>
		<comments>http://blog.readysetconnect.com/2008/10/web-hosting-plans-with-100gb-of-disk-space-and-1000gb-of-bandwidth-do-you-really-need-it/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 23:03:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Web Hosting]]></category>

		<category><![CDATA[Web Master Tutorials]]></category>

		<category><![CDATA[1000GB]]></category>

		<category><![CDATA[100GB]]></category>

		<category><![CDATA[bandwidth]]></category>

		<category><![CDATA[data transfer]]></category>

		<category><![CDATA[disk space]]></category>

		<category><![CDATA[hosting plans]]></category>

		<category><![CDATA[how much]]></category>

		<category><![CDATA[overselling]]></category>

		<category><![CDATA[resources]]></category>

		<category><![CDATA[web hosting]]></category>

		<guid isPermaLink="false">http://blog.readysetconnect.com/?p=253</guid>
		<description><![CDATA[During my 7 years of running a web hosting business, I have occasionally lost customers who state the following reason for why they were leaving my company: &#8220;xyzWebHost offers more disk space and data transfer for the same price as your plans&#8220;.
That always makes me curious so I end up checking the customers account to [...]


Related posts:<ol><li><a href='http://blog.readysetconnect.com/2008/07/the-dirt-on-unlimited-disk-space-and-unlimited-bandwidth/' rel='bookmark' title='Permanent Link: The dirt on unlimited disk space and unlimited bandwidth'>The dirt on unlimited disk space and unlimited bandwidth</a></li><li><a href='http://blog.readysetconnect.com/2008/10/cpu-limit-exceeded-warning-from-shared-web-hosting-to-vps-hosting/' rel='bookmark' title='Permanent Link: CPU limit exceeded warning: from shared web hosting to VPS hosting'>CPU limit exceeded warning: from shared web hosting to VPS hosting</a></li><li><a href='http://blog.readysetconnect.com/2008/06/how-much-to-spend-on-your-website-hosting/' rel='bookmark' title='Permanent Link: How much to spend on your website hosting'>How much to spend on your website hosting</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" style="padding-right:6px;" title="hard drive" src="http://blog.readysetconnect.com/hard drive.jpg" alt="hard drive" width="250" height="166" />During my 7 years of running a <a href="http://www.readysetconnect.com">web hosting business</a>, I have occasionally lost customers who state the following reason for why they were leaving my company: &#8220;<em>xyzWebHost offers more disk space and data transfer for the same price as your plans</em>&#8220;.</p>
<p>That always makes me curious so I end up checking the customers account to see how much disk space/bandwidth their site is using. Almost always, the user&#8217;s site is pushing, at max, 10% of the total allotted resources partitioned to the account.</p>
<h2>So the big question!</h2>
<p><em>How come so many people are fooled into thinking that just because a company offers higher numbers[in disk space and bandwidth], that they are getting a better deal or more value?</em></p>
<p>I&#8217;m going to let everyone in on some secrets that many web hosts will cringe to know that I am letting out.</p>
<ul>
<li><strong>Most sites use little disk space and bandwidth</strong> - I would say 99% of my customers never reach even half the amount of disk space and bandwidth that is a lotted to them.</li>
<li><strong>No host will let you use 100Gb of disk space and 1000GB of transfer - </strong>No shared web hosting provider [charging $5-$15/m] will let you reach your limit. As soon as you use a fraction of your plan, they will suspend you stating the famous &#8216;<a href="http://blog.readysetconnect.com/2008/10/cpu-limit-exceeded-warning-from-shared-web-hosting-to-vps-hosting/">CPU limit exceeded</a>&#8216; line. Don&#8217;t believe me? Go ahead, try it. See what happens.</li>
</ul>
<p>In fact, most of the top <a href="http://blog.readysetconnect.com/2008/10/cpu-limit-exceeded-warning-from-shared-web-hosting-to-vps-hosting/">web hosting providers around oversell their services</a> so much that it is physically impossible to allow their customer&#8217;s to reach the limit. They know that 99% of sites use less than 1GB disk/10Gb of transfer. Do you think they really care about keeping you as a customer if you are using the whole 100GB space/1000GB transfer? You are 1 percentage point to them. They get rid of you, and shove 50+ more customers onto the server bringing in 50x the amount of revenue.<br />
<img class="aligncenter" title="consider" src="http://blog.readysetconnect.com/consider.jpg" alt="consider" width="425" height="204" /></p>
<h2>What I recommend you do is consider what really matters:</h2>
<ul>
<li><strong>Forget about disk space and bandwidth </strong>- Most plans today are well equipped to handle your website. Your site will most likely use no more than 1GB disk and 10GB transfer.</li>
<li><strong>Consider service above all else</strong> - Consider the service level before anything else. Make sure your provider is a reputable company. <a href="http://blog.readysetconnect.com/2008/10/researching-your-web-host-before-signup-will-save-you-headache-and-time/">Here is how you can find a good web hosting service</a>.</li>
<li><strong>Consider price secondly -</strong> The price of the web hosting plan is usually a good indicator of the type of service you will receive. If you pay $3.00/m for a 100GB plan, the chances are you are getting a junk service. If you are paying $15/m for a couple GB of space and an average amount of transfer, it will more likely be a <a href="http://www.readysetconnect.com">higher level web hosting service</a>.</li>
</ul>
<p>What I really want you to have learned from this article is this: <strong>Higher numbers does not mean better value.</strong> In reality, the higher the numbers of disk space/bandwidth and the lower the price, the worse off you will be. It is also a good idea for you to get a good estimate of how much resources your site is currently using. I think you will be shocked as to how much space/transfer you thought you were using vs. how much your website is actually using.</p>


<p>Related posts:<ol><li><a href='http://blog.readysetconnect.com/2008/07/the-dirt-on-unlimited-disk-space-and-unlimited-bandwidth/' rel='bookmark' title='Permanent Link: The dirt on unlimited disk space and unlimited bandwidth'>The dirt on unlimited disk space and unlimited bandwidth</a></li><li><a href='http://blog.readysetconnect.com/2008/10/cpu-limit-exceeded-warning-from-shared-web-hosting-to-vps-hosting/' rel='bookmark' title='Permanent Link: CPU limit exceeded warning: from shared web hosting to VPS hosting'>CPU limit exceeded warning: from shared web hosting to VPS hosting</a></li><li><a href='http://blog.readysetconnect.com/2008/06/how-much-to-spend-on-your-website-hosting/' rel='bookmark' title='Permanent Link: How much to spend on your website hosting'>How much to spend on your website hosting</a></li></ol></p>
<p><a href="http://feedads.googleadservices.com/~a/NELxg0OEkhuzPWlzOA13-_wXnGc/a"><img src="http://feedads.googleadservices.com/~a/NELxg0OEkhuzPWlzOA13-_wXnGc/i" border="0" ismap="true"></img></a></p><img src="http://feedproxy.google.com/~r/readysetconnect/ytcT/~4/miFYADuwFjE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.readysetconnect.com/2008/10/web-hosting-plans-with-100gb-of-disk-space-and-1000gb-of-bandwidth-do-you-really-need-it/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.readysetconnect.com/2008/10/web-hosting-plans-with-100gb-of-disk-space-and-1000gb-of-bandwidth-do-you-really-need-it/</feedburner:origLink></item>
		<item>
		<title>CPU limit exceeded warning: from shared web hosting to VPS hosting</title>
		<link>http://feedproxy.google.com/~r/readysetconnect/ytcT/~3/R8yALzb8boY/</link>
		<comments>http://blog.readysetconnect.com/2008/10/cpu-limit-exceeded-warning-from-shared-web-hosting-to-vps-hosting/#comments</comments>
		<pubDate>Thu, 16 Oct 2008 21:57:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Web Hosting]]></category>

		<category><![CDATA[Web Master Tutorials]]></category>

		<category><![CDATA[cpu]]></category>

		<category><![CDATA[dedicated]]></category>

		<category><![CDATA[exceeded]]></category>

		<category><![CDATA[hosting]]></category>

		<category><![CDATA[limit]]></category>

		<category><![CDATA[server]]></category>

		<category><![CDATA[shared]]></category>

		<category><![CDATA[shared vs vps]]></category>

		<category><![CDATA[virtual]]></category>

		<category><![CDATA[VPS]]></category>

		<category><![CDATA[vps hosting]]></category>

		<category><![CDATA[web host]]></category>

		<category><![CDATA[web hosting]]></category>

		<guid isPermaLink="false">http://blog.readysetconnect.com/?p=245</guid>
		<description><![CDATA[When choosing a shared web hosting plan, most people only consider the amount of bandwidth and space that a website will need. However, as time goes on and your website gets more popular, it is common to get the dreaded CPU limit exceeded warning from your web host. After the warning your website almost always [...]


Related posts:<ol><li><a href='http://blog.readysetconnect.com/2008/05/picking-the-right-web-hosting-type/' rel='bookmark' title='Permanent Link: Build your website - picking the right web hosting type'>Build your website - picking the right web hosting type</a></li><li><a href='http://blog.readysetconnect.com/2008/07/the-dirt-on-unlimited-disk-space-and-unlimited-bandwidth/' rel='bookmark' title='Permanent Link: The dirt on unlimited disk space and unlimited bandwidth'>The dirt on unlimited disk space and unlimited bandwidth</a></li><li><a href='http://blog.readysetconnect.com/2008/10/web-hosting-plans-with-100gb-of-disk-space-and-1000gb-of-bandwidth-do-you-really-need-it/' rel='bookmark' title='Permanent Link: Web hosting plans with 100GB of disk space and 1000GB of bandwidth. Do you really need it?'>Web hosting plans with 100GB of disk space and 1000GB of bandwidth. Do you really need it?</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>When choosing a <a href="http://www.readysetconnect.com/shared-web-hosting.html" target="_blank">shared web hosting plan</a>, most people only consider the amount of bandwidth and space that a website will need. However, as time goes on and your website gets more popular, it is common to get the dreaded CPU limit exceeded warning from your web host. After the warning your website almost always ends up suspended/removed from the server.<br />
<img class="aligncenter" title="cpu limit" src="http://blog.readysetconnect.com/cpu limit.jpg" alt="cpu limit exceeded" width="425" height="166" /></p>
<h2>Why you got the CPU limit exceeded warning</h2>
<p>There are a few possible explanations for this:</p>
<ul>
<li><strong>You went with an unlimited web host</strong> - <a href="http://blog.readysetconnect.com/2008/07/the-dirt-on-unlimited-disk-space-and-unlimited-bandwidth/">this warning is the unlimited hosts way of telling you that your website is using too much disk space or bandwidth</a>. You actually believed they would let you fill up their server for $5.00/m?</li>
<li><strong>You went with an overselling web host -</strong> You know the plans - 1000GB of disk space and 10000 GB of transfer for $3.00/m. Come on now, that&#8217;s ridiculous!</li>
<li><strong>The CPU warning is legit </strong>- If your website is too popular, no shared <a href="http://www.readysetconnect.com">web host</a> can allow your popular website to effect the other 100+ customers on the server.</li>
</ul>
<h2>What are your options?</h2>
<p>Luckily there are some other options for you that won&#8217;t burn a whole into your pockets:</p>
<ul>
<li><strong>Find a better hosting provider</strong> - Find a host with a reasonable offer. Something like 2GB of disk space and 40GB of transfer for $9.99/m sounds good. This host would be less likely to shut you down because they can afford to put less customers on a server than unlimited and overselling web hosts.</li>
<li><strong>Upgrade from a shared web hosting plan to a VPS plan -</strong> If your website is a popular one that is resource intensive, this is your only option. Yes it will cost you a lot more than a shared plan, however a VPS plan will be less expensive than going straight to a dedicated server.</li>
</ul>
<p>What is a VPS plan and how much is going to cost me?</p>
<p>VPS stands for <span style="text-decoration: underline;">V</span>irtual <span style="text-decoration: underline;">P</span>rivate <span style="text-decoration: underline;">S</span>erver. A VPS provider will divide up a dedicated server into 5-10 partitions. They provide you with a guaranteed amounts of disk space, bandwidth, and <span style="text-decoration: underline;">most importantly CPU and RAM resources</span>. This is perfect for your resource intensive site. Even if you reach your max amount of allowed CPU/RAM, your host won&#8217;t shut you down. The end result will just be a slower loading website when you reach your limit. After all, a slower loading website is better than no website at all, right?</p>
<p><strong>There are two types of VPS plans</strong> - unmanaged and managed. Unmanaged plans range from $20-$40 a month. If you know your way around a Unix based machine, this will be perfect for you. However, if you have no clue as to what you are doing, you will need to go to a manage VPS solution. These will be more expensive than the unmanaged plans because now they have to devote system administration to you as well. Expect to spend $50/m + for a quality managed VPS plan.</p>
<p>90% of the time the dreaded CPU warning is a unlimited and <a href="http://blog.readysetconnect.com/2008/06/web-host-overselling-tactics-explained-how-hosting-providers-offer-so-much-for-so-little/">overselling hosts</a> way of telling you to go somewhere else. There are occasions that your website could actually be too popular for a shared web hosting environment. If this is the case, I suggest you upgrade to a VPS web hosting plan. This will solve your problem, atleast for awhile&#8230;</p>


<p>Related posts:<ol><li><a href='http://blog.readysetconnect.com/2008/05/picking-the-right-web-hosting-type/' rel='bookmark' title='Permanent Link: Build your website - picking the right web hosting type'>Build your website - picking the right web hosting type</a></li><li><a href='http://blog.readysetconnect.com/2008/07/the-dirt-on-unlimited-disk-space-and-unlimited-bandwidth/' rel='bookmark' title='Permanent Link: The dirt on unlimited disk space and unlimited bandwidth'>The dirt on unlimited disk space and unlimited bandwidth</a></li><li><a href='http://blog.readysetconnect.com/2008/10/web-hosting-plans-with-100gb-of-disk-space-and-1000gb-of-bandwidth-do-you-really-need-it/' rel='bookmark' title='Permanent Link: Web hosting plans with 100GB of disk space and 1000GB of bandwidth. Do you really need it?'>Web hosting plans with 100GB of disk space and 1000GB of bandwidth. Do you really need it?</a></li></ol></p>
<p><a href="http://feedads.googleadservices.com/~a/U9wNoTLnQPCkMGpmBfJ-1QEw17M/a"><img src="http://feedads.googleadservices.com/~a/U9wNoTLnQPCkMGpmBfJ-1QEw17M/i" border="0" ismap="true"></img></a></p><img src="http://feedproxy.google.com/~r/readysetconnect/ytcT/~4/R8yALzb8boY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.readysetconnect.com/2008/10/cpu-limit-exceeded-warning-from-shared-web-hosting-to-vps-hosting/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.readysetconnect.com/2008/10/cpu-limit-exceeded-warning-from-shared-web-hosting-to-vps-hosting/</feedburner:origLink></item>
		<item>
		<title>Researching your web host before signup will save you headache, time, and money.</title>
		<link>http://feedproxy.google.com/~r/readysetconnect/ytcT/~3/84TFpnYrCPQ/</link>
		<comments>http://blog.readysetconnect.com/2008/10/researching-your-web-host-before-signup-will-save-you-headache-and-time/#comments</comments>
		<pubDate>Fri, 10 Oct 2008 22:09:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Web Hosting]]></category>

		<category><![CDATA[Web Master Tutorials]]></category>

		<category><![CDATA[company reviews]]></category>

		<category><![CDATA[research]]></category>

		<category><![CDATA[reviews]]></category>

		<category><![CDATA[satisfied customers]]></category>

		<category><![CDATA[unsatisfied customers]]></category>

		<category><![CDATA[web hosting]]></category>

		<category><![CDATA[webhostingtalk]]></category>

		<guid isPermaLink="false">http://blog.readysetconnect.com/?p=229</guid>
		<description><![CDATA[Research? I know, I know&#8230;research sucks.  But spending 5 minutes researching your web hosting provider selection, will save yourself from so much frustration, headache, time, and money. In my opinion, researching your web host before you signup is the best 5 minutes you will ever spend during your search for the perfect web host.
How [...]


Related posts:<ol><li><a href='http://blog.readysetconnect.com/2008/09/the-biggest-hosting-company-is-not-always-the-best-startup-web-hosts-can-provide-something-a-large-host-cant/' rel='bookmark' title='Permanent Link: The biggest hosting company is not always the best. Startup web hosts can provide something a large host can&#8217;t.'>The biggest hosting company is not always the best. Startup web hosts can provide something a large host can&#8217;t.</a></li><li><a href='http://blog.readysetconnect.com/2008/06/web-host-overselling-tactics-explained-how-hosting-providers-offer-so-much-for-so-little/' rel='bookmark' title='Permanent Link: Web host overselling tactics explained. How hosting providers offer so much for so little'>Web host overselling tactics explained. How hosting providers offer so much for so little</a></li><li><a href='http://blog.readysetconnect.com/2008/05/picking-the-right-web-hosting-type/' rel='bookmark' title='Permanent Link: Build your website - picking the right web hosting type'>Build your website - picking the right web hosting type</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" style="padding-right:8px;" title="hosting review girl" src="http://blog.readysetconnect.com/reviewgirl.jpg" alt="hosting review girl" width="220" height="220" />Research? I know, I know&#8230;research sucks.  But spending 5 minutes researching your web hosting provider selection, will save yourself from so much frustration, headache, time, and money. In my opinion, researching <a href="http://www.readysetconnect.com">your web host</a> before you signup is the best 5 minutes you will ever spend during your search for the perfect web host.</p>
<h2>How to find the best reviews on a host</h2>
<p>Without a doubt, the easiest and best way to find info on your web host is to use <a href="http://www.webhostingtalk.com" target="_blank">WebHostingTalk</a>. WHT is a really large and active web forum that discusses almost every area of web hosting that I can think of. If a web host exists, a review for them will be found there.</p>
<ul>
<li><strong>Shared web hosts</strong> - If you are looking for reviews on shared web hosts, check out the <a href="http://www.webhostingtalk.com/forumdisplay.php?f=1" target="_blank">general web hosting forum</a>.</li>
<li><strong>Reseller web hosts</strong> - Need of some reseller hosting reviews? Check out their <a href="http://www.webhostingtalk.com/forumdisplay.php?f=3" target="_blank">reseller hosting forum</a>.</li>
<li><strong>Dedicated servers</strong> - They even have a section for <a href="http://www.webhostingtalk.com/forumdisplay.php?f=2">dedicated servers</a> if you need something to that scale. I use this forum when finding a suitable datacenter for my dedicated servers.</li>
</ul>
<h2>Analyzing the reviews</h2>
<p><strong>Don&#8217;t believe every review you read on this forum</strong>. Users often use WebHostingTalk to blackmail a web host by creating a &#8216;SoAndSoHosting sucks do not go with them thread&#8217;. I have also seen web hosts signup with a different user name and act like they are a satisfied client of the company. People definitely realize that WHT can either make or break a company. I have seen many companies become popular and successful through this forum.</p>
<p><img class="alignright" style="padding-left:10px;" title="hosting review" src="http://blog.readysetconnect.com/hostingreview.jpg" alt="hosting reviews" width="196" height="134" />So anyway, what I suggest you do is use the search function and find as many recent review threads you can on your web host selection. <strong>If 50% of them are good reviews, than it is probable the host is a good company.</strong> Even the <a href="http://www.readysetconnect.com/about.html">best hosting companies</a> in the world still have unsatisfied customers. Its just not possible to please everyone.</p>
<p>Unsatisfied customers will often go out of their way to make sure everyone knows about their bad experience. This is why you often see more bad reviews on companies than good.</p>
<h2>Don&#8217;t believe web hosting review sites</h2>
<p>One thing that I suggest you stay away from are those web hosting review sites. Most of them have motives for creating a review on a certain host. A lot of these sites use web hosting affiliate programs in order to make money on the sign ups they send to the host. So these reviews are often funded by the web hosting companies themselves making for a very biased review. For this reason, I suggest you stay away from them.</p>
<p>Just do your research and you will find that great web hosting provider. Spending 5 minutes now, will save you hours and hours of frustration and could also save you money if you monetize off your website.</p>


<p>Related posts:<ol><li><a href='http://blog.readysetconnect.com/2008/09/the-biggest-hosting-company-is-not-always-the-best-startup-web-hosts-can-provide-something-a-large-host-cant/' rel='bookmark' title='Permanent Link: The biggest hosting company is not always the best. Startup web hosts can provide something a large host can&#8217;t.'>The biggest hosting company is not always the best. Startup web hosts can provide something a large host can&#8217;t.</a></li><li><a href='http://blog.readysetconnect.com/2008/06/web-host-overselling-tactics-explained-how-hosting-providers-offer-so-much-for-so-little/' rel='bookmark' title='Permanent Link: Web host overselling tactics explained. How hosting providers offer so much for so little'>Web host overselling tactics explained. How hosting providers offer so much for so little</a></li><li><a href='http://blog.readysetconnect.com/2008/05/picking-the-right-web-hosting-type/' rel='bookmark' title='Permanent Link: Build your website - picking the right web hosting type'>Build your website - picking the right web hosting type</a></li></ol></p>
<p><a href="http://feedads.googleadservices.com/~a/6lcFi8RPlk5xLRQBxmTXpN0EL-k/a"><img src="http://feedads.googleadservices.com/~a/6lcFi8RPlk5xLRQBxmTXpN0EL-k/i" border="0" ismap="true"></img></a></p><img src="http://feedproxy.google.com/~r/readysetconnect/ytcT/~4/84TFpnYrCPQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.readysetconnect.com/2008/10/researching-your-web-host-before-signup-will-save-you-headache-and-time/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.readysetconnect.com/2008/10/researching-your-web-host-before-signup-will-save-you-headache-and-time/</feedburner:origLink></item>
		<item>
		<title>Convinced that all web hosting providers suck? Tips on how to find a good hosting service.</title>
		<link>http://feedproxy.google.com/~r/readysetconnect/ytcT/~3/MMQBEbz_CSg/</link>
		<comments>http://blog.readysetconnect.com/2008/10/convinced-that-all-web-hosting-providers-suck/#comments</comments>
		<pubDate>Wed, 08 Oct 2008 22:24:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Web Hosting]]></category>

		<category><![CDATA[Web Master Tutorials]]></category>

		<category><![CDATA[bad hosts]]></category>

		<category><![CDATA[good hosts]]></category>

		<category><![CDATA[hosting providers]]></category>

		<category><![CDATA[hosting service]]></category>

		<category><![CDATA[hosting sucks]]></category>

		<category><![CDATA[tips]]></category>

		<category><![CDATA[web host]]></category>

		<category><![CDATA[web hosting]]></category>

		<guid isPermaLink="false">http://blog.readysetconnect.com/?p=220</guid>
		<description><![CDATA[With the thousands of web hosting companies out there, it takes trial and error and even a little skill to find the best ones. Most unexperienced users often have to go through multiple hosting providers before they figure out how to spot the bad ones and how to spot the good ones. If you are [...]


Related posts:<ol><li><a href='http://blog.readysetconnect.com/2008/06/web-host-overselling-tactics-explained-how-hosting-providers-offer-so-much-for-so-little/' rel='bookmark' title='Permanent Link: Web host overselling tactics explained. How hosting providers offer so much for so little'>Web host overselling tactics explained. How hosting providers offer so much for so little</a></li><li><a href='http://blog.readysetconnect.com/2008/10/cpu-limit-exceeded-warning-from-shared-web-hosting-to-vps-hosting/' rel='bookmark' title='Permanent Link: CPU limit exceeded warning: from shared web hosting to VPS hosting'>CPU limit exceeded warning: from shared web hosting to VPS hosting</a></li><li><a href='http://blog.readysetconnect.com/2008/10/web-hosting-plans-with-100gb-of-disk-space-and-1000gb-of-bandwidth-do-you-really-need-it/' rel='bookmark' title='Permanent Link: Web hosting plans with 100GB of disk space and 1000GB of bandwidth. Do you really need it?'>Web hosting plans with 100GB of disk space and 1000GB of bandwidth. Do you really need it?</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" style="padding-right:6px;" title="web hosts" src="http://blog.readysetconnect.com/webhosts.jpg" alt="web hosts" width="220" height="160" />With the thousands of <a href="http://www.readysetconnect.com">web hosting companies</a> out there, it takes trial and error and even a little skill to find the best ones. Most unexperienced users often have to go through multiple hosting providers before they figure out how to spot the bad ones and how to spot the good ones. <strong>If you are convinced that all web hosting providers suck, this tutorial is for you.</strong></p>
<h2>Tip #1: Don&#8217;t be cheap.</h2>
<p>When it comes time for someone to chose from the endless list of web hosts, a newbie will often try and find the cheapest hosting provider possible. People tend to think of <a href="http://www.readysetconnect.com">web hosting providers</a> as all being equal, with the only difference being the price and the amount of space and bandwidth that is included in the particular plan.</p>
<p>However, web hosting is just like any other product or service in the world:</p>
<ul>
<li>The amount you pay for your hosting plan is directly related to the quality of service you will get. The less you pay, the worse the service.</li>
<li>It&#8217;s sort of like buying a new car - <strong>You wouldn&#8217;t expect to get a brand new Mercedes for the price of a Honda, now would you?<br />
</strong></li>
</ul>
<h2>Tip #2: Testing the waters</h2>
<p>One way you can get some sort of idea how a web hosting providers service is to test the waters before you sign up.</p>
<ul>
<li><strong>Open up a ticket or send an email to tech support asking a couple questions.</strong> Perhaps something related to technical support - &#8220;Do your servers have the GD libraries installed?&#8221; - or - &#8220;Would it be possible to get PHP safe mode disabled on my account if I signup?&#8221; This is great way to tell how much a company values their technical support department based on how long it takes them to reply.</li>
<li><strong>Some web hosts offer free trials or money back guarantees</strong> - Try your web host out before having to signup for them. Just be sure not to transfer your live site over until you are sure they are a decent company.</li>
</ul>
<h2>Are your expectations too high?</h2>
<p>This is what I think the number one reason why people think that all web hosts are bad. Do you expect 24/7 phone support for $4.99/m? Do you expect that service to be flawless for that same price? Should the plan come with 100GB of disk space and 1000GB of transfer? If this sounds like you and only want to pay $4.99/m for it, then be prepared to be let down. There would be no way for a company to turn any profit by providing all the above for $4.99/m.</p>
<p>In order to find a quality web hosting service, you need to be concerned with the service itself and <span style="text-decoration: underline;">not</span> how cheap of a price you can get. Granted, there are <a href="http://www.readysetconnect.com/cheap-hosting.html">some hosting services that can provide a decent service for at a low price</a>. But for the most part, the amount you pay your web host is directly related to the service levels you receive.</p>


<p>Related posts:<ol><li><a href='http://blog.readysetconnect.com/2008/06/web-host-overselling-tactics-explained-how-hosting-providers-offer-so-much-for-so-little/' rel='bookmark' title='Permanent Link: Web host overselling tactics explained. How hosting providers offer so much for so little'>Web host overselling tactics explained. How hosting providers offer so much for so little</a></li><li><a href='http://blog.readysetconnect.com/2008/10/cpu-limit-exceeded-warning-from-shared-web-hosting-to-vps-hosting/' rel='bookmark' title='Permanent Link: CPU limit exceeded warning: from shared web hosting to VPS hosting'>CPU limit exceeded warning: from shared web hosting to VPS hosting</a></li><li><a href='http://blog.readysetconnect.com/2008/10/web-hosting-plans-with-100gb-of-disk-space-and-1000gb-of-bandwidth-do-you-really-need-it/' rel='bookmark' title='Permanent Link: Web hosting plans with 100GB of disk space and 1000GB of bandwidth. Do you really need it?'>Web hosting plans with 100GB of disk space and 1000GB of bandwidth. Do you really need it?</a></li></ol></p>
<p><a href="http://feedads.googleadservices.com/~a/HmTCbb1Alb4VTiI2oO-HJPtGWTs/a"><img src="http://feedads.googleadservices.com/~a/HmTCbb1Alb4VTiI2oO-HJPtGWTs/i" border="0" ismap="true"></img></a></p><img src="http://feedproxy.google.com/~r/readysetconnect/ytcT/~4/MMQBEbz_CSg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.readysetconnect.com/2008/10/convinced-that-all-web-hosting-providers-suck/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.readysetconnect.com/2008/10/convinced-that-all-web-hosting-providers-suck/</feedburner:origLink></item>
		<item>
		<title>Setting up the logout functions to clear the user session ID</title>
		<link>http://feedproxy.google.com/~r/readysetconnect/ytcT/~3/_hbi44z52hQ/</link>
		<comments>http://blog.readysetconnect.com/2008/10/setting-up-the-logout-functions-to-clear-the-user-session-id/#comments</comments>
		<pubDate>Sat, 04 Oct 2008 00:31:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Programming]]></category>

		<category><![CDATA[database]]></category>

		<category><![CDATA[function]]></category>

		<category><![CDATA[login script]]></category>

		<category><![CDATA[logout]]></category>

		<category><![CDATA[mysql]]></category>

		<category><![CDATA[php]]></category>

		<category><![CDATA[session]]></category>

		<guid isPermaLink="false">http://blog.readysetconnect.com/?p=182</guid>
		<description><![CDATA[
PHP &#38; MySQL Login Tutorial Series
Pt1: Introduction
Pt2: Setting up the database
Pt3: The front end and user validation
Pt4: The code to privatize a page
Pt5: Logout function and clearing the session ID
Part 5: Logout functions
Our final function is the logout function that will wipe our session. That function is simpler and looks like this:
&#60;?php
function logout() {
$sessionid =$_COOKIE[test_account];
@setcookie [...]


Related posts:<ol><li><a href='http://blog.readysetconnect.com/2008/09/how-can-a-blog-help-your-main-website-setting-up-a-blog-to-increase-web-traffic/' rel='bookmark' title='Permanent Link: How can a blog help your main website? Setting up a blog to increase web traffic.'>How can a blog help your main website? Setting up a blog to increase web traffic.</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="login" src="http://blog.readysetconnect.com/login.jpg" alt="" width="225" height="188" /></p>
<p><strong>PHP &amp; MySQL Login Tutorial Series</strong><br />
Pt1: <a href="http://blog.readysetconnect.com/2008/10/simple-phpmysql-user-login-tutorial-make-parts-of-your-website-private-with-a-login/">Introduction</a><br />
Pt2: <a href="http://blog.readysetconnect.com/2008/10/creating-the-database-for-your-php-mysql-login-script/">Setting up the database</a><br />
Pt3: <a href="http://blog.readysetconnect.com/2008/10/the-frontend-form-and-the-php-user-login-validation-script/">The front end and user validation</a><br />
Pt4: <a href="http://blog.readysetconnect.com/2008/10/the-validation-code-for-the-pages-you-want-private/">The code to privatize a page</a><br />
Pt5: <a href="http://blog.readysetconnect.com/2008/10/setting-up-the-logout-functions-to-clear-the-user-session-id/">Logout function and clearing the session ID</a></p>
<h2>Part 5: Logout functions</h2>
<p>Our final function is the logout function that will wipe our session. That function is simpler and looks like this:</p>
<blockquote><p>&lt;?php<br />
function logout() {<br />
$sessionid =$_COOKIE[test_account];<br />
@setcookie (&#8221;test_account,&#8221;,time()-99999, &#8216;/&#8217;, &#8221;);<br />
mysql_query(&#8221;DELETE FROM user_sessions WHERE sessionid=&#8217;$sessionid&#8217;&#8221;);<br />
}<br />
?&gt;</p></blockquote>
<p>We first grab any session id out of the user&#8217;s submitted cookie. We then delete the cookie on the user&#8217;s computer by setting the cookie expiration date to sometime in the past (effectively deleting it), and we finally delete the session record from our database.</p>
<p>Before we can finish off the program we have two more tasks. The first is to throw an error message if the user enters invalid login credentials, and the second is to print out a greeting to the user if they&#8217;re logged in. Replace the HTML code from before with the following:</p>
<blockquote><p>&lt;?php<br />
if($userid &gt; 0) { echo &#8220;Welcome to our site, user #$userid (&lt;a href=&#8217;?logout&#8217;&gt;Click here to logout&lt;/a&gt;)&#8221;; } else {<br />
if($login_status != &#8221; &amp;&amp; $login_status == 0) { echo &#8220;Invalid username/password combo.&lt;br&gt;&#8221;; }<br />
?&gt;<br />
&lt;form action=&#8221;sample.php&#8221; method=&#8221;POST&#8221;&gt;<br />
&lt;input type=text name=username&gt;<br />
&lt;input type=password name=password&gt;<br />
&lt;input type=submit value=&#8221;Log In&#8221;&gt;<br />
&lt;/form&gt;<br />
&lt;?php } ?&gt;</p></blockquote>
<p>We first to check to see if our status function call returned a user id. If it did we can print out a welcome to the user, giving them his or her user id. We also provide a link for logging out; simply call the same page with &#8220;logout&#8221; specified as a URL GET variable to log out. If we don&#8217;t have a user id, we&#8217;ll print out the login form. We also check the login_status variable to see if there was an error. If there was we&#8217;ll print this out to the user.</p>
<p>This tutorial covers the basic concepts of a user login system, however it certainly doesn&#8217;t cover everything. There are many websites on the internet that can assist you with the specifics of setting up a database table, basic programming concepts, and anything in between. The full sample program can be <a title="found here" href="http://blog.readysetconnect.com/sample.php.txt">found here</a>. Note: In our example we assume you already have a connection to the database established, however sample.php includes the basic MySQL database connection functions.</p>


<p>Related posts:<ol><li><a href='http://blog.readysetconnect.com/2008/09/how-can-a-blog-help-your-main-website-setting-up-a-blog-to-increase-web-traffic/' rel='bookmark' title='Permanent Link: How can a blog help your main website? Setting up a blog to increase web traffic.'>How can a blog help your main website? Setting up a blog to increase web traffic.</a></li></ol></p>
<p><a href="http://feedads.googleadservices.com/~a/Ybd4j3rrM_g_HiKggN5G4naqt4g/a"><img src="http://feedads.googleadservices.com/~a/Ybd4j3rrM_g_HiKggN5G4naqt4g/i" border="0" ismap="true"></img></a></p><img src="http://feedproxy.google.com/~r/readysetconnect/ytcT/~4/_hbi44z52hQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.readysetconnect.com/2008/10/setting-up-the-logout-functions-to-clear-the-user-session-id/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.readysetconnect.com/2008/10/setting-up-the-logout-functions-to-clear-the-user-session-id/</feedburner:origLink></item>
		<item>
		<title>The validation code for the pages you want private.</title>
		<link>http://feedproxy.google.com/~r/readysetconnect/ytcT/~3/wC1GHuNPPAM/</link>
		<comments>http://blog.readysetconnect.com/2008/10/the-validation-code-for-the-pages-you-want-private/#comments</comments>
		<pubDate>Sat, 04 Oct 2008 00:30:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Programming]]></category>

		<category><![CDATA[code]]></category>

		<category><![CDATA[database]]></category>

		<category><![CDATA[login]]></category>

		<category><![CDATA[login script]]></category>

		<category><![CDATA[mysql]]></category>

		<category><![CDATA[php]]></category>

		<category><![CDATA[validation]]></category>

		<guid isPermaLink="false">http://blog.readysetconnect.com/?p=180</guid>
		<description><![CDATA[
PHP &#38; MySQL Login Tutorial Series
Pt1: Introduction
Pt2: Setting up the database
Pt3: The front end and user validation
Pt4: The code to privatize a page
Pt5: Logout function and clearing the session ID
Part 4: Privatizing your pages
Now let&#8217;s look at the status function. This function will be called on every page we want to protect. It will check [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="login" src="http://blog.readysetconnect.com/login.jpg" alt="" width="225" height="188" /></p>
<p><strong>PHP &amp; MySQL Login Tutorial Series</strong><br />
Pt1: <a href="http://blog.readysetconnect.com/2008/10/simple-phpmysql-user-login-tutorial-make-parts-of-your-website-private-with-a-login/">Introduction</a><br />
Pt2: <a href="http://blog.readysetconnect.com/2008/10/creating-the-database-for-your-php-mysql-login-script/">Setting up the database</a><br />
Pt3: <a href="http://blog.readysetconnect.com/2008/10/the-frontend-form-and-the-php-user-login-validation-script/">The front end and user validation</a><br />
Pt4: <a href="http://blog.readysetconnect.com/2008/10/the-validation-code-for-the-pages-you-want-private/">The code to privatize a page</a><br />
Pt5: <a href="http://blog.readysetconnect.com/2008/10/setting-up-the-logout-functions-to-clear-the-user-session-id/">Logout function and clearing the session ID</a></p>
<h2>Part 4: Privatizing your pages</h2>
<p>Now let&#8217;s look at the status function. This function will be called on every page we want to protect. It will check to see if the user has an active cookie, and will match the session id in the cookie to our session table. If there is a match, the user will be logged in. The function looks like this:</p>
<blockquote><p>&lt;?php<br />
function status() {<br />
$sessionid = $_COOKIE[test_account];<br />
$oldtime = $time() - 3600;<br />
$query = mysql_query(&#8221;SELECT * FROM user_sessions WHERE sessionid=&#8217;$sessionid&#8217; AND  timestamp&gt;$oldtime&#8221;);<br />
if(mysql_num_rows($query) == 1) {<br />
$info = mysql_fetch_array($query);<br />
return $info[userid];<br />
}<br />
return 0;<br />
}<br />
?&gt;</p></blockquote>
<p>First we&#8217;ll grab the session id that&#8217;s stored in the cookie &#8220;test_account.&#8221; The variable $oldtime is the oldest time the cookie could have been created. In this case that&#8217;s any time over the previous hour. The 3600 seconds must match the number of seconds in the setcookie function. We then query the session table for a match. If we find one we can pull the userid out of the session table and we&#8217;re logged in. Otherwise we return a 0.</p>
<p>Depending on your type of site, you may want to store frequently-used information in the session table for easy access. In this case, should we want to pull down the user&#8217;s username, we could use the userid pulled from the session table and then query the user_accounts table and match the user id for the account in question.</p>
<p><a class="alignright" href="http://blog.readysetconnect.com/2008/10/setting-up-the-logout-functions-to-clear-the-user-session-id/">Next -&gt; The Logout functions</a></p>


<p>No related posts.</p>
<p><a href="http://feedads.googleadservices.com/~a/aFrMJAeagXw7kbh0vb39T1fJUKs/a"><img src="http://feedads.googleadservices.com/~a/aFrMJAeagXw7kbh0vb39T1fJUKs/i" border="0" ismap="true"></img></a></p><img src="http://feedproxy.google.com/~r/readysetconnect/ytcT/~4/wC1GHuNPPAM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.readysetconnect.com/2008/10/the-validation-code-for-the-pages-you-want-private/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.readysetconnect.com/2008/10/the-validation-code-for-the-pages-you-want-private/</feedburner:origLink></item>
		<item>
		<title>The frontend form and the PHP user login validation script</title>
		<link>http://feedproxy.google.com/~r/readysetconnect/ytcT/~3/sTrSec8vrjk/</link>
		<comments>http://blog.readysetconnect.com/2008/10/the-frontend-form-and-the-php-user-login-validation-script/#comments</comments>
		<pubDate>Sat, 04 Oct 2008 00:30:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Programming]]></category>

		<category><![CDATA[database]]></category>

		<category><![CDATA[form]]></category>

		<category><![CDATA[login]]></category>

		<category><![CDATA[login script]]></category>

		<category><![CDATA[mysql]]></category>

		<category><![CDATA[php]]></category>

		<category><![CDATA[validation]]></category>

		<guid isPermaLink="false">http://blog.readysetconnect.com/?p=178</guid>
		<description><![CDATA[
PHP &#38; MySQL Login Tutorial Series
Pt1: Introduction
Pt2: Setting up the database
Pt3: The front end and user validation
Pt4: The code to privatize a page
Pt5: Logout function and clearing the session ID
Part 3: Frontend form and validation
In this example we&#8217;re going to have a simple page that will display username and password text fields if a user [...]


Related posts:<ol><li><a href='http://blog.readysetconnect.com/2008/07/web-hosting-the-last-form-of-free-speech-in-america/' rel='bookmark' title='Permanent Link: Web hosting - the last form of free speech in America?'>Web hosting - the last form of free speech in America?</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="login" src="http://blog.readysetconnect.com/login.jpg" alt="" width="225" height="188" /></p>
<p><strong>PHP &amp; MySQL Login Tutorial Series</strong><br />
Pt1: <a href="http://blog.readysetconnect.com/2008/10/simple-phpmysql-user-login-tutorial-make-parts-of-your-website-private-with-a-login/">Introduction</a><br />
Pt2: <a href="http://blog.readysetconnect.com/2008/10/creating-the-database-for-your-php-mysql-login-script/">Setting up the database</a><br />
Pt3: <a href="http://blog.readysetconnect.com/2008/10/the-frontend-form-and-the-php-user-login-validation-script/">The front end and user validation</a><br />
Pt4: <a href="http://blog.readysetconnect.com/2008/10/the-validation-code-for-the-pages-you-want-private/">The code to privatize a page</a><br />
Pt5: <a href="http://blog.readysetconnect.com/2008/10/setting-up-the-logout-functions-to-clear-the-user-session-id/">Logout function and clearing the session ID</a></p>
<h2>Part 3: Frontend form and validation</h2>
<p>In this example we&#8217;re going to have a simple page that will display username and password text fields if a user is not logged in, and a simple greeting if the user is logged in. The HTML form code for the user/pass login should look something like this:</p>
<blockquote><p>&lt;form action=&#8221;sample.php&#8221; method=&#8221;POST&#8221;&gt;<br />
&lt;input type=text name=username&gt;<br />
&lt;input type=password name=password&gt;<br />
&lt;input type=submit value=&#8221;Log In&#8221;&gt;<br />
&lt;/form&gt;</p></blockquote>
<p>This HTML will give us a simple form with two fields named username and password. When a user enters the login info and clicks the submit button, the page will reload. Now we need to add in the PHP to retrieve these credentials when the page is loaded. To make sure everything works, add all of the PHP code to the top of the document (as seen in <a title="sample.php" href="http://blog.readysetconnect.com/sample.php.txt">sample.php</a>). To simplify the tutorial we&#8217;re going to give you the code for logging in, logging out, and checking user status in one snippet, however we will not be discussing all of it just yet. Here is the code that will regulate the user activity:</p>
<blockquote><p>&lt;?php<br />
if($_POST[username] !=&#8221; || $_POST[password] != &#8221;) {<br />
$login_status = login($_POST[username], $_POST[password]);<br />
} else if($_GET[logout]) {<br />
logout();<br />
}<br />
$userid = status();<br />
?&gt;</p></blockquote>
<p>Note: The above code must appear before any output in your document. If there is ANY output prior to this code being executed, you will receive errors when cookies are trying to be set during login.</p>
<p>We first check to see if the user is logging in, in which case we&#8217;ll call the login function, and we&#8217;ll also check to see if they&#8217;re logging out, in which case we will log out the current account. Finally we check to see the user&#8217;s status. If the user is logged in the userid will equal the user id. Otherwise it is equal to 0. Now let&#8217;s look at the functions we call in the above code.</p>
<p>The first function we&#8217;ll check is the login function. This is the meat of the program that will check user credentials. The code looks like this:</p>
<blockquote><p>&lt;?php<br />
function login($username, $password) {<br />
$username = addslashes($username);<br />
$password = md5($password);<br />
$query = mysql_query(&#8221;SELECT * FROM user_accounts WHERE username=&#8217;$username&#8217; AND password=&#8217;$password&#8217;&#8221;);<br />
if(mysql_num_rows($query) == 1) {<br />
$info = mysql_fetch_array($query);<br />
$userid = $info[userid];<br />
$sessionid = md5($userid . time());<br />
$time = time();<br />
@setcookie (&#8217;test_account&#8217;, $sessionid, $time+3600, &#8216;/&#8217;, &#8221;);<br />
mysql_query(&#8221;DELETE FROM user_sessions WHERE userid=&#8217;$userid&#8217;&#8221;);<br />
mysql_query(&#8221;INSERT INTO user_sessions (sessionid,userid,timestamp) VALUES(&#8217;$sessionid&#8217;,'$userid&#8217;,'$time&#8217;)&#8221;);<br />
return $userid;<br />
} else {<br />
return 0;<br />
}<br />
}<br />
?&gt;</p></blockquote>
<p>We begin by reading in the username and password. We used addslashes() to help protect against SQL injection attacks. Generally you wouldn&#8217;t have single quotes in usernames, however if someone tries to break into the system this will help protect you. Next we encrypt the password with MD5. MD5 is a hashing algorithm that will scramble any text and return a 32-character string. Whenever you add a user to the database, make sure the password is saved as a 32-character MD5 string. This will guarantee that anyone who may break into your database will not be able to steal your users&#8217; passwords. Again while this is not foolproof, it does help protect user data. The idea is that instead of matching two visible passwords, it&#8217;s better to match a scrambled password with the real password&#8217;s scrambled counterpart. Since MD5 will always return the same 32-character string for a specific input, we can guarantee that the MD5 hash stored in the database will always match the MD5 hash of the correct password. If you do not wish to encrypt your passwords, simply remove this line from the login function.</p>
<p>We then check the database to see if a user exists with the entered username/password combo. If a user does not exist we&#8217;ll return the integer 0. This is arbitrary, however the number must remain consistent throughout your program. If the user does exist, we&#8217;ll fetch the user id number. We then create a session id (again with md5). Note that we&#8217;re not only encrypting the user id as the session id, but we&#8217;re also concatenating the current timestamp to the user id. This will make it near-impossible for a would-be hacker to guess an active session id. You can use other salts to protect the session id even more.</p>
<p>After we have our session id we will want to store it on the user&#8217;s computer. To do this we call the setcookie() function. The first parameter, &#8220;test_account,&#8221; is simply the name of the cookie. Again you can set this to be whatever you want, however it must remain consistent throughout your code. The second parameter is our cookie contents, in this case the session id. It&#8217;s important that we only store non-identifiable information in the cookie. If we were to store something such as the user id or a username, it would be very easy for the would-be hacker to spoof the cookie and gain access to your user accounts. By using a session id, the hacker has to know the id in order to spoof; with our MD5 encryption this becomes difficult and makes it harder for the hacker to exploit your script. The third parameter is the cookie expiration time. $time+3600 is the current time plus 3600 seconds, or one hour in the future. Finally we set the directory the cookie is valid for. It&#8217;s sufficient to leave this parameter set to &#8220;/&#8221;.</p>
<p>After we set the cookie we need to clear out the session table. First we will want to wipe any old sessions for our user. We then insert the new session so we have something to match the cookie against whenever the user returns to our site.</p>
<p><a class="alignright" href="http://blog.readysetconnect.com/2008/10/the-validation-code-for-the-pages-you-want-private/">Next -&gt; Privatizing a page on your website</a></p>


<p>Related posts:<ol><li><a href='http://blog.readysetconnect.com/2008/07/web-hosting-the-last-form-of-free-speech-in-america/' rel='bookmark' title='Permanent Link: Web hosting - the last form of free speech in America?'>Web hosting - the last form of free speech in America?</a></li></ol></p>
<p><a href="http://feedads.googleadservices.com/~a/GeJt-MyiGyOnEcyKEkWO8m2sfVk/a"><img src="http://feedads.googleadservices.com/~a/GeJt-MyiGyOnEcyKEkWO8m2sfVk/i" border="0" ismap="true"></img></a></p><img src="http://feedproxy.google.com/~r/readysetconnect/ytcT/~4/sTrSec8vrjk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.readysetconnect.com/2008/10/the-frontend-form-and-the-php-user-login-validation-script/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.readysetconnect.com/2008/10/the-frontend-form-and-the-php-user-login-validation-script/</feedburner:origLink></item>
		<item>
		<title>Creating the database for your PHP &amp; MySQL login script</title>
		<link>http://feedproxy.google.com/~r/readysetconnect/ytcT/~3/mkTxWZPGLuk/</link>
		<comments>http://blog.readysetconnect.com/2008/10/creating-the-database-for-your-php-mysql-login-script/#comments</comments>
		<pubDate>Sat, 04 Oct 2008 00:28:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Programming]]></category>

		<category><![CDATA[database]]></category>

		<category><![CDATA[login script]]></category>

		<category><![CDATA[mysql]]></category>

		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://blog.readysetconnect.com/?p=176</guid>
		<description><![CDATA[
PHP &#38; MySQL Login Tutorial Series
Pt1: Introduction
Pt2: Setting up the database
Pt3: The front end and user validation
Pt4: The code to privatize a page
Pt5: Logout function and clearing the session ID
Part 2: Creating the MySQL database
Before we get to programming, let&#8217;s setup the databases. You will need to create two different tables—one for user accounts and [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="login" src="http://blog.readysetconnect.com/login.jpg" alt="" width="225" height="188" /></p>
<p><strong>PHP &amp; MySQL Login Tutorial Series</strong><br />
Pt1: <a href="http://blog.readysetconnect.com/2008/10/simple-phpmysql-user-login-tutorial-make-parts-of-your-website-private-with-a-login/">Introduction</a><br />
Pt2: <a href="http://blog.readysetconnect.com/2008/10/creating-the-database-for-your-php-mysql-login-script/">Setting up the database</a><br />
Pt3: <a href="http://blog.readysetconnect.com/2008/10/the-frontend-form-and-the-php-user-login-validation-script/">The front end and user validation</a><br />
Pt4: <a href="http://blog.readysetconnect.com/2008/10/the-validation-code-for-the-pages-you-want-private/">The code to privatize a page</a><br />
Pt5: <a href="http://blog.readysetconnect.com/2008/10/setting-up-the-logout-functions-to-clear-the-user-session-id/">Logout function and clearing the session ID</a></p>
<h2>Part 2: Creating the MySQL database</h2>
<p>Before we get to programming, let&#8217;s setup the databases. You will need to create two different tables—one for user accounts and the other for sessions. Setup the tables as follows:</p>
<p>Table name: user_accounts<br />
Field 1: userid, int(10), primary key, auto_increment<br />
Field 2: username, varchar(10)<br />
Field 3: password, varchar(32)</p>
<p>Field 1 will store our user id number and will be a primary key for unique user identification. Field 2 is our username with a maximum of 10 characters. The number of characters can be set at whatever you&#8217;d like. Field 3 is our password field and, for this example, needs to be a minimum of 32 characters. You can use a larger size, however all passwords will be 32 characters in length.</p>
<p>Table name: user_sessions<br />
Field 1: sessionid, varchar(32), primary key<br />
Field 2: userid, int(10)<br />
Field 3: timestamp, int(12)</p>
<p>Field 1 will store our temporary session id and must be 32 characters as well as a primary key. Field 2 is our user id and its size must be equal to the size you selected in the user_accounts table. Field 3 is our time field. There are several ways to store a time in a database, however we will be storing the Unix timestamp.</p>
<p><a class="alignright" href="http://blog.readysetconnect.com/2008/10/the-frontend-form-and-the-php-user-login-validation-script/">Next -&gt; Front end + User validation</a></p>


<p>No related posts.</p>
<p><a href="http://feedads.googleadservices.com/~a/vY1ylX4O_4MrJ7r46Uh1zgjj1nA/a"><img src="http://feedads.googleadservices.com/~a/vY1ylX4O_4MrJ7r46Uh1zgjj1nA/i" border="0" ismap="true"></img></a></p><img src="http://feedproxy.google.com/~r/readysetconnect/ytcT/~4/mkTxWZPGLuk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.readysetconnect.com/2008/10/creating-the-database-for-your-php-mysql-login-script/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.readysetconnect.com/2008/10/creating-the-database-for-your-php-mysql-login-script/</feedburner:origLink></item>
		<item>
		<title>Simple PHP/MySQL user login tutorial. Make parts of your website private with a login.</title>
		<link>http://feedproxy.google.com/~r/readysetconnect/ytcT/~3/t-wewAmXfaI/</link>
		<comments>http://blog.readysetconnect.com/2008/10/simple-phpmysql-user-login-tutorial-make-parts-of-your-website-private-with-a-login/#comments</comments>
		<pubDate>Sat, 04 Oct 2008 00:27:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Web Hosting]]></category>

		<category><![CDATA[Web Hosting News]]></category>

		<category><![CDATA[Web Master Tutorials]]></category>

		<category><![CDATA[login]]></category>

		<category><![CDATA[login script]]></category>

		<category><![CDATA[mysql]]></category>

		<category><![CDATA[php]]></category>

		<category><![CDATA[private]]></category>

		<category><![CDATA[Programming]]></category>

		<category><![CDATA[tutorial]]></category>

		<category><![CDATA[user]]></category>

		<guid isPermaLink="false">http://blog.readysetconnect.com/?p=136</guid>
		<description><![CDATA[
PHP &#38; MySQL Login Tutorial Series
Pt1: Introduction
Pt2: Setting up the database
Pt3: The front end and user validation
Pt4: The code to privatize a page
Pt5: Logout function and clearing the session ID
Part 1: Introduction
Sometimes it&#8217;s important to restrict access to certain parts of a website, and the best way to regulate this access is through a user [...]


Related posts:<ol><li><a href='http://blog.readysetconnect.com/2008/09/an-easy-way-to-build-a-website-using-wordpress-and-pre-designed-templates-for-a-quick-and-good-looking-website/' rel='bookmark' title='Permanent Link: An easy way to build a website. Using a WordPress installation and pre designed templates for a quick and good looking website.'>An easy way to build a website. Using a WordPress installation and pre designed templates for a quick and good looking website.</a></li><li><a href='http://blog.readysetconnect.com/2008/07/building-a-website-from-scratch-vs-building-a-website-from-a-pre-made-template/' rel='bookmark' title='Permanent Link: Building a website from scratch vs. Building a website from a pre-made template'>Building a website from scratch vs. Building a website from a pre-made template</a></li><li><a href='http://blog.readysetconnect.com/2008/05/picking-the-right-web-hosting-type/' rel='bookmark' title='Permanent Link: Build your website - picking the right web hosting type'>Build your website - picking the right web hosting type</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="login" src="http://blog.readysetconnect.com/login.jpg" alt="" width="225" height="188" /></p>
<p><strong>PHP &amp; MySQL Login Tutorial Series</strong><br />
Pt1: <a href="http://blog.readysetconnect.com/2008/10/simple-phpmysql-user-login-tutorial-make-parts-of-your-website-private-with-a-login/">Introduction</a><br />
Pt2: <a href="http://blog.readysetconnect.com/2008/10/creating-the-database-for-your-php-mysql-login-script/">Setting up the database</a><br />
Pt3: <a href="http://blog.readysetconnect.com/2008/10/the-frontend-form-and-the-php-user-login-validation-script/">The front end and user validation</a><br />
Pt4: <a href="http://blog.readysetconnect.com/2008/10/the-validation-code-for-the-pages-you-want-private/">The code to privatize a page</a><br />
Pt5: <a href="http://blog.readysetconnect.com/2008/10/setting-up-the-logout-functions-to-clear-the-user-session-id/">Logout function and clearing the session ID</a></p>
<h2>Part 1: Introduction</h2>
<p>Sometimes it&#8217;s important to restrict access to certain parts of a website, and the best way to regulate this access is through a user login system. This article is going to cover the creation of a very simple login system that will help get you started. This system is by no means 100% secure, so we do not recommend using it in a production environment, however we will examine one of the ways a login can be created and we&#8217;ll also look at some of the pitfalls of such a system.</p>
<p>Before we begin, let&#8217;s establish the pseudocode of our script and walk through the general process of a login. First, and most importantly, we need a user account. This will include the user&#8217;s login identification number, a username, password, and any other credentials we may want such as access levels or email addresses. To keep this simple, we&#8217;ll stick to user id, username, and password.  When a user enters his or her login credentials on your site, we will have to verify the credentials and then establish some means to keep track of a user&#8217;s login status. Remember, whenever someone visits a webpage, that page is always loaded as if it&#8217;s the first time someone has been on the site. We need a way to tell the site who the user is so that the site can make adjustments for the logged in account.</p>
<p>There are essentially three different parts to this login system. The first part is the PHP code we&#8217;re going to write that will regulate the user access. We&#8217;ll also need a database to store both the user account information as well as temporary session information that remembers what accounts are logged in. The latter can be setup several ways, including the use of PHP sessions, however for this example we&#8217;re going to store the sessions in a database. The third thing we&#8217;ll need is a way for the user&#8217;s computer to identify itself. For this we&#8217;re going to store a cookie on the user&#8217;s computer that will be sent to our website every time the user accesses a new page.</p>
<p>Let&#8217;s begin creating the code. If you want to test this code on a working site, we suggest you create a separate user.php file (or equivalent) that will store all of the user functions. In this example we&#8217;ll simply reference all of the different parts necessary. To view the final working code as it should appear on a site, go to <a title="http://blog.readysetconnect.com/sample.php.txt" href="http://blog.readysetconnect.com/sample.php.txt" target="_blank">http://blog.readysetconnect.com/sample.php.txt</a>.</p>
<p><a class="alignright" href="http://blog.readysetconnect.com/2008/10/creating-the-database-for-your-php-mysql-login-script/">Next -&gt; Setting up the MySQL database</a></p>


<p>Related posts:<ol><li><a href='http://blog.readysetconnect.com/2008/09/an-easy-way-to-build-a-website-using-wordpress-and-pre-designed-templates-for-a-quick-and-good-looking-website/' rel='bookmark' title='Permanent Link: An easy way to build a website. Using a WordPress installation and pre designed templates for a quick and good looking website.'>An easy way to build a website. Using a WordPress installation and pre designed templates for a quick and good looking website.</a></li><li><a href='http://blog.readysetconnect.com/2008/07/building-a-website-from-scratch-vs-building-a-website-from-a-pre-made-template/' rel='bookmark' title='Permanent Link: Building a website from scratch vs. Building a website from a pre-made template'>Building a website from scratch vs. Building a website from a pre-made template</a></li><li><a href='http://blog.readysetconnect.com/2008/05/picking-the-right-web-hosting-type/' rel='bookmark' title='Permanent Link: Build your website - picking the right web hosting type'>Build your website - picking the right web hosting type</a></li></ol></p>
<p><a href="http://feedads.googleadservices.com/~a/AElWBw8XDMxeaNQ_Lf7goBKSBAw/a"><img src="http://feedads.googleadservices.com/~a/AElWBw8XDMxeaNQ_Lf7goBKSBAw/i" border="0" ismap="true"></img></a></p><img src="http://feedproxy.google.com/~r/readysetconnect/ytcT/~4/t-wewAmXfaI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.readysetconnect.com/2008/10/simple-phpmysql-user-login-tutorial-make-parts-of-your-website-private-with-a-login/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.readysetconnect.com/2008/10/simple-phpmysql-user-login-tutorial-make-parts-of-your-website-private-with-a-login/</feedburner:origLink></item>
		<item>
		<title>Todays unexpected Google PageRank update. New pageranks for September 08</title>
		<link>http://feedproxy.google.com/~r/readysetconnect/ytcT/~3/nbzagQZjxZo/</link>
		<comments>http://blog.readysetconnect.com/2008/09/todays-unexpected-google-pagerank-update-new-pageranks-for-september-08/#comments</comments>
		<pubDate>Tue, 30 Sep 2008 00:05:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Search Engine Optimization]]></category>

		<category><![CDATA[Web Master Tutorials]]></category>

		<category><![CDATA[google]]></category>

		<category><![CDATA[pagerank]]></category>

		<category><![CDATA[search engines]]></category>

		<category><![CDATA[website rank]]></category>

		<guid isPermaLink="false">http://blog.readysetconnect.com/?p=147</guid>
		<description><![CDATA[If you haven&#8217;t noticed already, Google has just updated it PageRank for September 2008! I am happy to say that my main website, ReadySetConnect has gone up a rank from PR4 to PR5. I am also pleased to say that the PageRank of the web hosting blogs stayed at PR4. I was actually expecting it [...]


Related posts:<ol><li><a href='http://blog.readysetconnect.com/2008/07/how-to-get-your-website-listed-on-google-and-yahoo-in-24-hours/' rel='bookmark' title='Permanent Link: How to get your website listed on Google and Yahoo in 24 hours'>How to get your website listed on Google and Yahoo in 24 hours</a></li><li><a href='http://blog.readysetconnect.com/2008/09/fund-your-web-hosting-with-ppc-programs-like-ypn-and-google-adsense/' rel='bookmark' title='Permanent Link: Fund your web hosting with PPC programs like YPN and Google Adsense'>Fund your web hosting with PPC programs like YPN and Google Adsense</a></li><li><a href='http://blog.readysetconnect.com/2008/06/building-web-site-backlinks-to-increase-your-search-engine-rankings-off-page-seo/' rel='bookmark' title='Permanent Link: Building web site backlinks to increase your search engine rankings. Off page SEO'>Building web site backlinks to increase your search engine rankings. Off page SEO</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="google pagerank" src="http://blog.readysetconnect.com/pagerank.jpg" alt="" width="278" height="208" /><strong>If you haven&#8217;t noticed already, Google has just updated it PageRank for September 2008</strong>! I am happy to say that my main website, <a href="http://www.readysetconnect.com" target="_blank">ReadySetConnect</a> has gone up a rank from PR4 to PR5. I am also pleased to say that the PageRank of <a href="http://blog.readysetconnect.com">the web hosting blogs</a> stayed at PR4. I was actually expecting it to drop due to the fact that I enabled do-follow for comment links.</p>
<p>Every time Google updates PageRank, I learn something new. During the update before last (August 08) I was really mad because my PageRank of my main site dropped form PR5 to PR4. I really got my hopes up while waiting for the August update - I thought for sure that it was going to increase to PR6 instead of drop. Before the update I was working hard every to nab as many links as I could - from PR0 to PR7. Then the update came and my whole PageRank world came crashing down. That is when I stopped caring about gaming my site&#8217;s PageRank. I found out that day that <a href="http://www.google.com">Google</a> is insanely good at analyzing websites and they can tell very quickly when your website is getting some abnormal attention.</p>
<p>The great thing about not worrying about PageRank is that you don&#8217;t build up expectations only to be let down. When I noticed today that I moved back up to PR5 I was surprised and happy because I was not expecting it nor did I even care about PageRank at that point.</p>
<p>All I can say to anyone who experienced a PR drop is to try and not worry too much about it. Try to keep in mind that even though your PR may have lowered, it doesn&#8217;t mean you will get less traffic from the search engines. Even when my main site went from PR5 down to 4, my search engine referral traffic stayed the exact same. PageRank is just a number, and not how valuable your site is. I also think that the more you try and game your PageRank, the worse off your website rank will be. Just build back links to your website naturally and slowly. I believe this is the key. If you all the sudden start getting these awesome high PR links out of nowhere, Google will start to get suspicious because it is not a normal thing for this to happen.</p>
<p>Just keep working at it and don&#8217;t get discouraged. I know that I was when I dropped rank but just remember you can only go up from there. Things could be worse you know -Atleast you didn&#8217;t get banned!</p>


<p>Related posts:<ol><li><a href='http://blog.readysetconnect.com/2008/07/how-to-get-your-website-listed-on-google-and-yahoo-in-24-hours/' rel='bookmark' title='Permanent Link: How to get your website listed on Google and Yahoo in 24 hours'>How to get your website listed on Google and Yahoo in 24 hours</a></li><li><a href='http://blog.readysetconnect.com/2008/09/fund-your-web-hosting-with-ppc-programs-like-ypn-and-google-adsense/' rel='bookmark' title='Permanent Link: Fund your web hosting with PPC programs like YPN and Google Adsense'>Fund your web hosting with PPC programs like YPN and Google Adsense</a></li><li><a href='http://blog.readysetconnect.com/2008/06/building-web-site-backlinks-to-increase-your-search-engine-rankings-off-page-seo/' rel='bookmark' title='Permanent Link: Building web site backlinks to increase your search engine rankings. Off page SEO'>Building web site backlinks to increase your search engine rankings. Off page SEO</a></li></ol></p>
<p><a href="http://feedads.googleadservices.com/~a/Hl5r1_53ABLApEjfIfvJTE9Y_4U/a"><img src="http://feedads.googleadservices.com/~a/Hl5r1_53ABLApEjfIfvJTE9Y_4U/i" border="0" ismap="true"></img></a></p><img src="http://feedproxy.google.com/~r/readysetconnect/ytcT/~4/nbzagQZjxZo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.readysetconnect.com/2008/09/todays-unexpected-google-pagerank-update-new-pageranks-for-september-08/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.readysetconnect.com/2008/09/todays-unexpected-google-pagerank-update-new-pageranks-for-september-08/</feedburner:origLink></item>
	</channel>
</rss>
