The Official OT "Name Tedd's Grandson" Thread
| From: | Daniel Brown | Date: | Wed, 25 Jul 2007 12:53:52 +0000 |
| Subject: | The Official OT "Name Tedd's Grandson" Thread | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-259507@lists.php.net to get a copy of this message | ||
First of all, congrats to Tedd on his 9th grandchild, a boy, at 8lbs. 9oz.
Secondly, since the kid didn't have a name when we last heard from
the old fart, you know damn well that he's relying on us to name him.
;-P
Suggestions?
I'm thinking, instead of going conventional, we give him a dynamic
name, for a signature that could only be signed as follows:
<?
function myName() {
$num = time();
$char = "abcdefghijklmnopqrstuvwxyz";
for($i=0;$i<strlen($num);$i++) {
$i == 0 ? $name = strtoupper($char[substr($num,$i,1)])
: $name .= $char[substr($num,$i,1)];
}
return $name;
}
?>
--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107