Tutorials Home
What's New
Top Rated
Submit
myTutes
Random!
PHP Countdown for 2001/2002/2003-2099
Author: Christian Koechy
| Website: http://www.shck.de |
Finally we create the php-file with a simple texteditor and name it 'shckcount.php'
with follow content:
<?
$shckzeit = time();
$shckdat = getdate($shckzeit);
$shckjahr =$shckdat[year];
$shckyday =$shckdat[yday];
$shckstun =$shckdat[hours];
$shckmin =$shckdat[minutes];
$shcksek =$shckdat[seconds];
print "&shckjahr=$shckjahr&";
print "&shckyday=$shckyday&";
print "&shckstun=$shckstun&";
print "&shckmin=$shckmin&";
print "&shcksek=$shcksek&";
?>
You can test your file on the php-server.
http://www.yourdomain.com/shckcount.php
Then you can test the flash-file:
http://www.yourdomain.com/shckcount.swf
That is it.