php - How to clear cache or make the images run the code again in html? -



php - How to clear cache or make the images run the code again in html? -

i running code

<img src="../graphics/g_builder.php?type=funil&interval=1"/> <img src="../graphics/g_builder.php?type=funil&interval=3"/> <img src="../graphics/g_builder.php?type=conversao&interval=2"/> <img src="../graphics/g_builder.php?type=conversao&interval=3"/> <img src="../graphics/g_builder.php?type=nps&interval=2"/>

that generates image in folder rest of code utilize later, works 1 time or pressing ctrl +f5 clears cache if im not wrong...

so need way renew images everytime phone call php or somehow clear cache without using headers... can do?

you append timestamp property end of src attribute. example:

<img src="../graphics/g_builder.php?type=nps&amp;interval=2&amp;time=<?php print time(); ?>"/>

this way, every time refresh page, src attribute different.

php html caching

Comments

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -