felipepai 1 Denunciar post Postado Abril 11, 2017 Olá, galera vi esta ferramenta na internet um contador regressivo, porém, ele recebe um GET com date(), e gera um relógio de acordo com get(), gostaria da fazer este script porém não sei como posso fazer, parece ser imagem gif, porém super dinâmica mudando conforme GET, segue o link abaixo, alguem poderia me orientar como posso fazer???? <img src='http://gen.sendtric.com/image/countdown?to=1494470771&bg=ffffff&fg=000000&days=1&lang=pt'> Compartilhar este post Link para o post Compartilhar em outros sites
wootzor 103 Denunciar post Postado Abril 11, 2017 Basta fazer algo como: <?php $time = isset($_GET['time']) ? $_GET['time'] : null; ?> <!doctype html> <html> <head> <title>Countdown</title> <body> <?php if (!is_null($time)) { ?> <img src='http://gen.sendtric.com/image/countdown?to=<?php echo $time; ?>&bg=ffffff&fg=000000&days=1&lang=pt'> <?php } ?> </body> </head> </html> Compartilhar este post Link para o post Compartilhar em outros sites