set time php before redirect code example Example: php redirect in seconds header("refresh:5;url=wherever.php");