The fact is that it is generated via php. The question is how to implement this?

Php timer in picture

  • Anyone who watches this post with a super cool picture will be hacked;) Instead of a picture, an advanced Trojan is loaded with _https: //proxy.imgsmail.ru And while you admire this counter, your data is leaking from you. - Visman
  • No, they will not be hacked, this is built into the letter and my email is attached to the picture. It just counts how many times I view a picture with each view. Most likely you have an antivirus determines that the picture runs the script. Because of this I pop up messages. I do not think that the goldcoach will send the Trojan mailings. - mace

2 answers 2

Just a gif that is generated when opening. You can check it apart.

Here is an example in PHP ( why did you decide that mail.ru generates it in php? ): Image only Countdown Clock or a link to github .

  • No, not mail.ru generates in php. Mail.ru on all the pictures in the letter puts a redirect link. I received this letter at mail.ru mail. Goldcoach newsletter uses this script. - mace

I understand that if done in PHP, it means the server counts your time and at any time can display the required amount of the remainder (in case you need to load the actual number when you refresh the page)?

And then everything is simple, give the original figure to JS, and he will do everything you need, there is such a thing: http://keith-wood.name/countdown.html

He considers and issues in any format he needs, and has an event for the end of time.

  • A letter came to me with such a picture. And I was immediately interested in how they did it? The timer to a certain time stops of course but reloading the page goes further. - mace