"; $arr = array(); do{ $pos = strpos($txt,$start_tag,$offset); if($pos){ $str_pos = strpos($txt,">",$pos)+1; $end_pos = strpos($txt,$end_tag,$str_pos); $len = $end_pos - $str_pos; $f_text = substr($txt,$str_pos,$len); $arr[] = $f_text; $offset = $end_pos; } }while($pos); return $arr; } print_header(WT_I18N::translate("README documentation")); echo '
'; // This page is always LTR/English $url = 'readme.html'; $txt = file_get_contents($url); $arr = get_tag($txt, "body"); foreach ($arr as $value) { echo $value; } echo '
'; print_footer();