Jump to content

php html website


fullyloaded

Recommended Posts

They don't show up until you refresh the page because the browser is displaying the old, cached version of the image.  You can force refresh the image by adding a ?mktime() to the end of the image filename.

echo '<img src="path/path2/file.ext?' . mktime() . '" alt=""/>';

It's not the most recommended method however, since it will always refresh the image and not just when it's new.
Link to comment
Share on other sites

hi
thanks but can this code[code]<meta content="30; url=http://mhtit.hypermart.net/js/refresh.html" http-equiv=refresh>[/code] be put into this code?[code] <input name="Submit" type="submit" class=BlackSlim11 id="Submit" value="Save">[/code] so the refresh will be in the button and not auto refresh? thanks...
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.