Re: run a fuction at each intervals
| From: | elias | Date: | Tue, 26 Jun 2001 20:05:00 +0000 |
| Subject: | Re: run a fuction at each intervals | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-55223@lists.php.net to get a copy of this message | ||
You have multiple choices...
You can make your life easy with a simple javascript like:
<html>
<head>
<title>file.php</title>
</head>
<body onload="setTimeout('location.reload();',5000)">
<?
echo "Time up!";
?>
</body>
</html>
or you can use the meta tag equiv like:
<meta http-equiv="Refresh" content="3;url=http://server/timeup.php">
be more specific...you can do lots of stuff actually...
""ewoong"" <economist@economist.co.kr> wrote in message
news:9h9ild$jps$1@w153.z064000151.sjc-ca.dsl.cnc.net...
> Hi..
>
> If I want to run a function at each intervals, what function I can use ??
>
> <for example>
>
> I try to display " Time is Up " each five-minute.
>
>
> " Time is up "
>
> after five-minute..
>
> " Time is up "
>
> after five-minute..
>
> " Time is up "
>
> ...
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>