Good day,

That won't submit the form, unfortunately.  It'll just redirect the user to
the page without submitting the contents of the form.

If the browser supports it, one can use javascript to submit the form after
a certain amount of seconds have elapsed.

============================
Darren Gamble
Planner, Regional Services
Shaw Cablesystems GP
630 - 3rd Avenue SW
Calgary, Alberta, Canada
T2P 4L4
(403) 781-4948


-----Original Message-----
From: George Whiffen [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 04, 2002 12:16 PM
To: [EMAIL PROTECTED]; 繁星
Subject: [PHP] Re: time limit ?




磷星 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)
> --
> 繁星工作室
> http://fansing.hk.st/
> ACG互動區域(大家多些來貼圖吧!)
> 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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to