Web hosting plans with 100GB of disk space and 1000GB of bandwidth. Do you really need it?
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: “xyzWebHost offers more disk space and data transfer for the same price as your plans”.
That always makes me curious so I end up checking the customers account to [...]
CPU limit exceeded warning: from shared web hosting to VPS hosting
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 [...]
Researching your web host before signup will save you headache, time, and money.
Research? I know, I know…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 [...]
Setting up the logout functions to clear the user session ID
PHP & 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:
<?php
function logout() {
$sessionid =$_COOKIE[test_account];
@setcookie [...]
The validation code for the pages you want private.
PHP & 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’s look at the status function. This function will be called on every page we want to protect. It will check [...]
The frontend form and the PHP user login validation script
PHP & 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’re going to have a simple page that will display username and password text fields if a user [...]

Posts