TheComputerGuy
08-26-2000, 12:29 AM
I do not know the HTML code for automaticallly updateing a page. like a scoreboard site so every minute it will update. does anyone know where i can find info on it?
![]() | View Full Version : Auto update TheComputerGuy 08-26-2000, 12:29 AM I do not know the HTML code for automaticallly updateing a page. like a scoreboard site so every minute it will update. does anyone know where i can find info on it? BC 08-27-2000, 03:38 AM You'd require either : 1. Manual editing every few mins or so 2. A CGI or PHP or ASP script (depending on whatever language you're comfortable with and the platform you're using) that's set to update every few minutes and you just add a few nos. Give me a yell if you want to find 'em ;) TheComputerGuy 08-27-2000, 08:18 AM I have no problems updating the page. I would have to because i would be the person at the game just typing it in and publishing it. I just thought you could use some rediresting code to make it update every 3 minutes or something. Thanks Chris BC 08-27-2000, 08:27 AM Ohhhhhh...... I see! :) Just refresh the page every few mins by adding a <meta http-equiv> tag..... Like : <meta http-equiv="refresh" content="180"> (180 seconds) That should fix it. (edit) I should also add that you should add the following to prevent caching and ensure users get the latest version no matter what. <META HTTP-EQUIV="expires" CONTENT="0"> <META HTTP-EQUIV="pragma" CONTENT="no_cache"> <META HTTP-EQUIV="cache-control" CONTENT="no-cache"> (/edit) [This message has been edited by BC (edited 08-27-2000).] |