Why don't you just do
I would refer your technique more if you want to refresh a page every 20 seconds or so ;-) (You upload a random pic every 20 seconds and you want that people always see the latest one)Code:<script> window.location = "url you want"; </script>