I use the html file from Saint K, but the motd.png image is replaced by motd.php which generates dynamically a png image I've added Procyon headers to my script, but as I'm at work I cannot test immediatly
Cold On Wed, Jun 25, 2008 at 2:24 PM, Ronny Schedel <[EMAIL PROTECTED]> wrote: > If you use PHP as MOTD, then you don't need to change the headers. > > > Coldorak wrote: > >> It seems TF2 (client-side) caches the motd. > > To disable caching of your dynamic generated image, let the php script > > modify the http headers like this: > > > > header("Content-type: image/png"); > > header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); > > header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); > > header("Cache-Control: no-store, no-cache, must-revalidate"); > > header("Cache-Control: post-check=0, pre-check=0", false); > > header("Pragma: no-cache") > > > > _______________________________________________ > > To unsubscribe, edit your list preferences, or view the list archives, > > please visit: > > http://list.valvesoftware.com/mailman/listinfo/hlds_linux > > > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlds_linux > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux