You can use the header() function. So a redirect would look like this:
<?php header('Location: fail.php'); ?>
I think the its the same as ASP, but just make sure you don't have any output before you call the header function. So no html or print statements basically.
-justin