Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsDiscussion Forum → It's that time of year again...
It's that time of year again...
2007-08-06, 5:41 AM #1
<?php

if($_GET["date"] == "2007-08-06") {
$oldAge = 25;
$newAge = $oldAge + 1;
echo "Woot! I'm now " . $newAge . " years old!";
}

?>
The cake is a lie... THE CAKE IS A LIE!!!!!
2007-08-06, 5:59 AM #2
Damnit you got my hopes up for another Savagely Crude Poll.

Happy birthday, Lizardface!
Was cheated out of lions by happydud
Was cheated out of marriage by sugarless
2007-08-06, 6:28 AM #3
Happy Birthday
2007-08-06, 6:34 AM #4
<?php
$birthday = '8/6';
$birthyear = '1981';

if(date('n/j') == $birthday) {
$age = date('Y') - $birthyear;
echo "Happy Birthday SavageX! You're now {$age}!";
}

?>

A better birthday script!

(I was bored)
2007-08-06, 8:55 AM #5
Happy B-Day, Dude! :D
Pissed Off?
2007-08-06, 3:56 PM #6
Happy b'day! :)
woot!
2007-08-06, 3:59 PM #7
i know naught of your crazy programming language but if my assumptions of 26 are correct then well done!

also god damn, enjoy it while you last, you're due to die any moment.
2007-08-06, 10:40 PM #8
Happy Birthday!
2007-08-06, 10:58 PM #9
You passed in the date as part of the query string? :confused:

Happy Birthday!
Code to the left of him, code to the right of him, code in front of him compil'd and thundered. Programm'd at with shot and $SHELL. Boldly he typed and well. Into the jaws of C. Into the mouth of PERL. Debug'd the 0x258.

↑ Up to the top!