Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

PHP force refresh image

//In PHP you can send a random number or the current timestamp

<img src="image.jpg?<?=Date('U')?>">
//or
<img src="image.jpg?<?=rand(1,32000)?>">  
  
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #PHP #force #refresh #image
ADD COMMENT
Topic
Name
6+4 =