When on my site the user uploads/updates a picture of himself, it seems to be necesary to press the reload button in order to force an update. Is there anyway I can do this automatically with PHP?
thanks
Nicolas
When on my site the user uploads/updates a picture of himself, it seems to be necesary to press the reload button in order to force an update. Is there anyway I can do this automatically with PHP?
thanks
Nicolas
Use header().
<?php
header('Location: http://www.example.com/');
?>
Thanks but I don't think that's what I'm looking for. I'd simply like to initiate a reload of the site that is currently on display already. With the header command this would be done an unlimited amount of times and it would end up stuck in a loop I think.
dickreuter;10891820 wrote:Thanks but I don't think that's what I'm looking for. I'd simply like to initiate a reload of the site that is currently on display already. With the header command this would be done an unlimited amount of times and it would end up stuck in a loop I think.
I'm not too sure what you mean.
If you only issue the header command once it will only refresh the page once?
hi
absolutly no idea if this will work for you but try
header( 'refresh: 5; url=http://www.example.com/' );
I found meta tags to disable the cache. That worked.
Thanks anyway
Nicolas