Hi!
I want something like sleep() function which makes a delay on the Client Side rather than Server Side. I have a page that should display a text for 2 seconds and redirect to another page. Thanks.
You could either use a META refresh, or use the header function:
<?php $url = "Refresh: 10; URL=/somefolder/somefile.php"; header($url); ?>