The image verification code you entered is incorrect.
June 27, 2007 - 06:06
eaccelerator_cache_page and ob_get_contents
Posts: 1
Joined: 2007-06-27

My code:

ob_start();
if (!isset($_SESSION['userid'])) {
$cachetimeout=10;
eaccelerator_cache_page($_SERVER['PHP_SELF'].'?GET='.serialize($_GET), $cachetimeout);
} else {
$cachetimeout=-1;
}
$output = ob_get_contents());
ob_end_clean();

ob_start();
print $output;
ob_end_flush();

Output:
??????í
Help me!



Reply

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
More information about formatting options Captcha Image: you will need to recognize the text in it.
Please type in the letters/numbers that are shown in the image above.