Nice tutorial...the only criticism i have is the use of $_REQUEST.
Very rarely should you use request.

Use the proper super global: $_POST, $_GET, $_SESSION, $_COOKIE.

That way you're SURE...