View Single Post
Old 05-20-2009, 01:13 PM   #22 (permalink)
Jim
The Addict
 
Jim's Avatar
 
Join Date: Nov 2007
Location: the Netherlands
Posts: 281
Thanks: 2
Jim is on a distinguished road
Default

PHP Code:
class allworknoplay
{
    private 
$m_szValue;
    private static 
$myBiggestSecretEver;
   
    public function 
__construct($x,$y)
    {
        
$aRange range(1100);
        
// Obfuscated string "Hello TalkPHP!"
        
$sNote  pack('H*''48656C6C6F2054616C6B50485021');
        
$aString sprintf('%s Remember this day %s'$sNotedate('m/d/y h:ia', (array_rand($aRange) * 3600) + time()));
        
$szPaddedString str_pad$aString, (($sqr ceil(sqrtstrlen($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? =)
Send a message via MSN to Jim Send a message via Skype™ to Jim
Jim is offline  
Reply With Quote