// class类$ebk = new cls_class;class cls_class{
function load($url){
$filearray = @file_get_contents($url) or die($filearray.'系统繁忙,或该文章不存在!...'); 
if(strpos($filearray,"出现错误") > "0"){
die("抱歉,该文章不存在或已被删除!");
}else{
$this->content = $filearray;这样$content能定义成类成员变量吗 }
}
function steal($from,$start,$end,$lt,$gt){
$str = explode($start,$from); $str = explode($end,$str[1]); $strs = $str[0];
if($lt){ $strs = $start.$strs; } if($gt){ $strs = $strs.$end; }
return($strs);
}
function result($str_name){
if(isset($this->$str_name)){
return($this->$str_name);
}else{
return(null);
}
}
}