View Single Post
Old 05-19-2009, 12:56 PM   #20 (permalink)
Wildhoney
La Vida es Sueño
Advanced Programmer Top Contributor 
 
Wildhoney's Avatar
 
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
Wildhoney is on a distinguished road
Default

I've decided to take a proactive approach and removed the halt compiler It's for the best!

php Code:
class allworknoplay
{
    private $m_szValue;
   
    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');
   }

}
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
Send a message via AIM to Wildhoney Send a message via MSN to Wildhoney Send a message via Yahoo to Wildhoney
Wildhoney is offline  
Reply With Quote