05-20-2009, 01:13 PM
|
#22 (permalink)
|
|
The Addict
Join Date: Nov 2007
Location: the Netherlands
Posts: 281
Thanks: 2
|
PHP Code:
class allworknoplay
{
private $m_szValue;
private static $myBiggestSecretEver;
public function __construct($x,$y)
{
$aRange = range(1, 100);
// Obfuscated string "Hello TalkPHP!"
$sNote = pack('H*', '48656C6C6F2054616C6B50485021');
$aString = sprintf('%s Remember this day %s', $sNote, date('m/d/y h:ia', (array_rand($aRange) * 3600) + time()));
$szPaddedString = str_pad( $aString, (($sqr = ceil(sqrt( strlen($aString)))) * $sqr), '|');
preg_match_all('~^(?P<welcome>.+?!).+?(?P<date>\d+?/\d+?/\d+)\s*(?P<time>.+)$~is', $aString, $aMatches);
$this->m_szValue = sprintf('%s.%s', str_replace('Hello TalkPHP!', $sNote, $x), $y);
}
public function play($song) {
$getSong="/path/to/mp3/folder/";
$allowedStyles = array('drum & bass', 'jungle', 'uk hardcore', 'minimal', 'electro');
}
public function __toString()
{
return 'Something'; // Permission granted to edit/remove this line, it is only here to prevent a fatal error
}
}
__________________
Nunchaku! Who doesn't like martial arts? =)
|
|
|