lundi 2 mars 2015

Random image in html web

I have a script which generates a gif with this order



DATE=$(date +"%s")
cp /var/www/on.gif /var/www/daemonstate$DATE.gif


Each time I execute, the filename changes. My problem is, when I try to put the gif file in my html web with



<img src="http://ift.tt/1CnjuUC + * + .gif">


the file does not appear, I know this is not the right syntax but I cannot find the right ones.


Aucun commentaire:

Enregistrer un commentaire