[Ubuntu-US-CA] Karmic Countdown
ubuntu at darkwingduck.org
Tue Oct 13 19:47:15 BST 2009
Ill look into this when I get home as well. I have a snipping script somewhere in my archives just for this.
Ill email once complete unless someone beats me to it
From: Aaditya Bhatia
Sender: ubuntu-us-ca-bounces at lists.ubuntu.com
To: Ubuntu US California
Subject: Re: [Ubuntu-US-CA] Karmic Countdown
Sent: Oct 13, 2009 11:37
On Mon, Oct 12, 2009 at 3:22 PM, Robert Wall
<robertlikesturtles at gmail.com> wrote:
> On Mon, Oct 12, 2009 at 2:29 PM, Grant Bowman <grantbow at gmail.com> wrote:
> > The Karmic version was announced here.
> > http://fridge.ubuntu.com/node/1922
> that the front page had for Jaunty?
Following PHP script will serve the desired countdown image. It is
nearly usable (untested though), and needs to be pointed at from the
<img> tag upon being hosted.
$dayOfMonth = date("d");
header("Expires: Thu, $dayOfMonth Oct 2009 23:59:59 GMT");
$daysLeft = 29 - $dayOfMonth;
$ch = curl_init("http://www.ubuntu.com/files/countdown/910/countdown-9.10-1/"
+ $daysLeft + ".png");
// do not end this (or any) php script with ?>, to avoid outputting
unintended extra whitespaces at the end
Ubuntu-us-ca mailing list
Ubuntu-us-ca at lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-us-ca
More information about the Ubuntu-us-ca