gfxgfx
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
logo
 
gfx gfx
gfx
14537 Posts in 1904 Topics by 7002 Members - Latest Member: derhaluter July 31, 2010, 09:30:37 AM
*
gfx*HomeHelpSearchLoginRegistergfx
gfxgfx
0 Members and 1 Guest are viewing this topic.       « previous next »
Pages: 1 [2] Print
Author Topic: ISK-Sense blocking the page from loading  (Read 6339 times)
StukaRT
Newbie
*
Offline Offline

Posts: 4


« Reply #15 on: July 31, 2009, 12:09:00 PM »

Where is apc_fetch() and apc_store() from?
Logged
Elissen
Forum Administrator
Administrator
Hero Member
*****
Offline Offline

Gender: Male
Posts: 1596



« Reply #16 on: July 31, 2009, 06:55:37 PM »

That is the PHP extenstion APC, you can find it in PEAR / PECL. I removed it for you:

Code:
<?

        // Create a context with the timeout set to 10 seconds
        $cnx = stream_context_create(array('http' => array('timeout' => 10)));
        if ($str = @file_get_contents('http://www.isksense.com/renderer/220', 0, $cnx)) {
                $out = preg_replace('/\<style (.*)\<\/style\>/is', '',
                        preg_replace('/document\.write\(\'(.*)\'\);/i', '\1',
                                str_replace('\\\'', '\'', $str)));
        } else {
                $out = 'error';
        }
$xml = new DOMDocument('1.0', 'utf-8');
$content = $xml->createElement('content', $out);
$xml->appendChild($content);

header('Content-type: text/xml');
noCacheHeaders();
echo '<?xml version="1.0" encoding="utf-8"?>
',
$xml->saveXML($xml->documentElement);

?>
Logged

Weeks of programming can save you hours of planning.
gfx
Pages: 1 [2] Print 
gfx
Jump to:  
gfx
Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Page created in 0.081 seconds with 13 queries.
Helios Multi design by Bloc
gfx
Powered by MySQL Powered by PHP Valid XHTML 1.0! Valid CSS!