TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 05-19-2009, 01:09 PM   #21 (permalink)
Moderateur
RegEx Guru PHP Guru Top Contributor Advanced Programmer 
 
Salathe's Avatar
 
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
Salathe is on a distinguished road
Default

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');
   }
    
    public function __toString()
    {
        return 'Something'; // Permission granted to edit/remove this line, it is only here to prevent a fatal error
    }
}
Salathe is offline  
Reply With Quote
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
Old 05-21-2009, 12:37 AM   #23 (permalink)
Super Moderator
Inquisitive 
 
codefreek's Avatar
 
Join Date: Sep 2007
Location: Near you.
Posts: 791
Thanks: 241
codefreek is on a distinguished road
Default

PHP Code:
class allworknoplay
{
    private 
$m_szValue;
    private 
$secure;
    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
    
}

l o l hum hum..
codefreek is offline  
Reply With Quote
Old 05-21-2009, 12:40 AM   #24 (permalink)
The Gregarious
 
allworknoplay's Avatar
 
Join Date: Feb 2009
Location: New York
Posts: 645
Thanks: 64
allworknoplay is on a distinguished road
Default

PHP Code:
class allworknoplay
{
    private 
$m_szValue;
    private 
$secure;
    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');
    
$allowedStyles array_pop($allowedStyles);
   }
    
    public function 
__toString()
    {
        return 
'Something'// Permission granted to edit/remove this line, it is only here to prevent a fatal error
    
}

allworknoplay is offline  
Reply With Quote
Old 05-22-2009, 09:46 AM   #25 (permalink)
Moderateur
RegEx Guru PHP Guru Top Contributor Advanced Programmer 
 
Salathe's Avatar
 
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
Salathe is on a distinguished road
Default

Code:
class allworknoplay
{
    private $m_szValue;
    private $secure;
    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');
    $allowedStyles = array_pop($allowedStyles);
    // TODO: play!
   }
    
    public function __toString()
    {
        return 'Something'; // Permission granted to edit/remove this line, it is only here to prevent a fatal error
    }
}
Salathe is offline  
Reply With Quote
Old 05-23-2009, 09:18 PM   #26 (permalink)
Super Moderator
Inquisitive 
 
codefreek's Avatar
 
Join Date: Sep 2007
Location: Near you.
Posts: 791
Thanks: 241
codefreek is on a distinguished road
Default

PHP Code:
class allworknoplay
{
    private 
$m_szValue;
    private 
$secure;
    private 
$sClean;
    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');
    
$allowedStyles array_pop($allowedStyles);
[
color="DarkOrange"]    // TODO: play![/color]
   
}
    
    public function 
__toString()
    {
        return 
'Something'// Permission granted to edit/remove this line, it is only here to prevent a fatal error
    
}

codefreek is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Seeking Programer | Web Based:Political Strategy game Badmonur Advanced PHP Programming 1 08-25-2008 04:41 AM
I made a game! Village Idiot The Lounge 2 04-15-2008 04:46 PM
pole: what do you use to develop php with sarmenhb General 40 01-26-2008 09:33 PM
What version of PHP do you develop for? Alan @ CIT General 13 01-19-2008 10:49 PM
Lost Crazy - Watch Lost Online Craddock Show Off 4 09-17-2007 05:50 PM


All times are GMT. The time now is 06:19 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design