1主题内容与适用范围
2原理
3试剂
4仪器、设备
5采样及样品保存
要截取出../2003Z/hb/z063.pdf这个结果,该怎么截取呢?
------解决方案--------------------
- PHP code
$str=<<------解决方案--------------------
preg_match('/title="([^#\"]+)#/s',$s,$m);
prinit_r($m[1]);
------解决方案--------------------
/------解决方案--------------------
/------解决方案--------------------
$contents = $match[1];
foreach($contents as &$v) $v='http://localhost/'.$v;
$contents = implode('#',$contents);
echo $contents;