How do I pause a page for a certain amount of seconds before redirecting the user to another HTML/PHP page using PHP?
never use sleep this way. Even under slight load your server will run out of http connections. Worst if your firewall runs out.
The delay parameter in the redirect header is made for exactly to the same reason.
Update: this works, but may not be the most appropriate solution for this situation. See comments.
Might this be what you are looking for?
<?php
sleep(5);
header("Location: http://www.example.com/");
exit();
?>