Automatically submit form on refresh page
I want to make a quiz application using php and mysql and I want that a certain page is refreshed after 1 hour (for example). Can I make it so that when it is refreshed the data in the form is automatically submitted?
Diana B
2008-05-07 21:28:24
Re:
Bytheway, I am using:
echo "<META HTTP-EQUIV=Refresh CONTENT="3600">";
for refreshing the page. Do you know how to do it? Thank you in advance!
Re:
Oh..I forgot to mention,I can't use JavaScript becouse this quiz will also be accessed from mobile devices, and I red in the standards that mobile browsers don't support client side scripting.. Is there a "PHP way" to automatically submit data from a form when it is refreshed? (I sure hope so..) Thank u!
Veselin
2008-05-07 22:00:11
Re:
Unfortunately I cannot say if there is any other method (I am pretty sure there is no other) besides JavaScript and Meta refresh. The refresh should be client side and not server side because only client is able to send a request to the server e.g. request a page refresg.
Diana B
2008-05-07 22:03:22
Re:
Than I guess I'll just have to take this feature out of my application.. :( But thank you anyway!