$file=openu($url); $abc = cut($file, 后面怎么写啊,我写切html $str=file_get_contents($url);preg_replace('/^(.*?)a(.*?)b(.*?)$/is','\\2',$str); 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 openu ????cut ?????user-defined functions ??? $file=openu($url);substr($file,a,b-a);这样可以吗??? Are the a and b the numbers of the substring position of the string ? $from='</td></tr></table></td></tr></table><p>';$to=$sexname;$str2= strip_tags(cut($a,$from,$to));function cut($file,$from,$end){ $message=explode($from,$file); $message=explode($end,$message[1]); return $message[0];} TP从模板跳转到另一个控制器 请问如何使用php存取session? 为什么mysql在查询数字格式就出错呢? 计算日期问题 web上出这个问题 以后的路怎样走?请高人指点 菜鸟级四级连动 smarty模版问题:为何开启了缓存后,还是会向mysql提交查询? PHP怎么才能做到直接修改带格式的 指定的TXT文本 利用IE的控件打印连续的几个页面,如何控制针式打印机不向前疯狂进纸??? 请问关于函数参数 画图的问题。。
cut ?????user-defined functions ???
substr($file,a,b-a);
这样可以吗???
$to=$sexname;
$str2= strip_tags(cut($a,$from,$to));function cut($file,$from,$end){ $message=explode($from,$file);
$message=explode($end,$message[1]);
return $message[0];
}