Can you use PHP to make a "Timed Page Re-direct" like SitePoint has when you post a message?

I am displaying a "transaction succeeded" message, and after maybe 15-20 seconds would like the screen to refresh and the user be taken to a Log-In page.

How can I do that in PHP?