Re: time limit ?
| From: | George Whiffen | Date: | Mon, 04 Mar 2002 19:16:11 +0000 |
| Subject: | Re: time limit ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-87137@lists.php.net to get a copy of this message | ||
ÁC¬P wrote:
> How can I set a time limit for a form made by PHP (i.e.the value will auto
> transfer after a certain time)
> --
> Ác¬P¤u§@«Ç
> http://fansing.hk.st/
> ACG¤¬°Ê°Ï°ì(¤j®a¦h¨Ç¨Ó¶K¹Ï§a!)
> http://acgzone.hk.st/
HTML forms execute in the client's browser, which does not care at all whether
the form came from static html file, php, Perl, whatever.
The simplest way to get a browser to time out is with a <META> refresh html
tag in the <HEADER> part of your page e.g.
<META HTTP-EQUIV="Refresh" CONTENT="15;
URL=http://www.mysite.com/too_long.html">.
This would automatically redirect to the too_long.html page after 15 seconds.
George