$url"; # $body = str_replace($url,$url_str,$body); $body = replaceBlock($body,$url_str,$where,$end); $start = strpos($body,"",$where); } else { $start = $where + 7; } } else { $done=true; } } return $body; } ?>