Redirecting Invalid Shirt IDs

if (!isset($product)
header("Location: _location_ ");
http://www.faqs.org/rfcs/rfc2616.html