# Kirupa flash Countdown and PHP

**URL:** <https://forum.kirupa.com/t/kirupa-flash-countdown-and-php/271008>\
**Category:** flash\
**Created:** [September 17, 2008, 11:32am UTC](https://forum.kirupa.com/t/kirupa-flash-countdown-and-php/271008 "2008-09-17T11:32:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Blacksoldier](https://avatars.discourse-cdn.com/v4/letter/b/43a26b/32.png) [@Blacksoldier](https://forum.kirupa.com/u/Blacksoldier)\
**Post date:** [September 17, 2008, 11:32am UTC](https://forum.kirupa.com/t/kirupa-flash-countdown-and-php/271008/1 "2008-09-17T11:32:17Z")

</div>

Hello everybody!

First, sorry for my english, i’ll try to do my best.

So this is my problem:

- i downloaded the files for making the kirupa example countdown: [http://www.kirupa.com/developer/mx/countdown2.htm](http://www.kirupa.com/developer/mx/countdown2.htm)

I’d like to be able to adapt it under php:

- On my website, i’ve to show, for each member who register, a countdown, and when it’s finished, it unlocks a part of the website.

So i hade in mind to do this:

- use the kirupa countdown to show the time remaining from the Subscription date to a date "Subscription date + X days or hours (depending on what kind of account registered).

So, i’d like to be able to define these two dates in php variables:  
$unlock\_date = ($subscription\_date + X); (Where $subscription\_date is a timestamp  
time(); for actual time.

And after, compare and make the countdown from theses variables! In fact, i don’t want to have to define destination date in the AS, but call all the dates from PHP and after use a call of countdown:  
countdown.swf?actual=xxxxxxxx&destination=xxxxxxxxx

Could you help me doing this? I don’t know how to replace time defined in AS with GET strings…

Thanks for your future help!
