On 17 Mar 2004 Mike Mapsnac wrote:
> I need to refresh page every 2 minutes. How that's can be done in
> PHP?
You can do it with a header. I think something this simple will work:
header("Refresh: 120");
or in the <head> area:
print "<meta http-equiv=\"Refresh\" content=\"120\">\n";
If you want to refresh to an explicit URL:
header("Refresh: 120; URL=http://...");
print "<meta http-equiv=\"Refresh\" content=\"120;
URL=http://...\">\n";
--
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php