同楼上,用JS获取吧
  如果是生成静态的 ,试试这样
  E/class/function.php下 查找第一个
  $string=str_replace('[!--'.$pf.'--]',$newstext,$string);    
  的上边添加
  $diypage=$j==1?"":"_".$j; $mydiypage="http://".$_SERVER['SERVER_NAME']."/".$iclasspath.$newspath.$add[filename].$diypage.$filetype; $string=str_replace('[!--mydiy.pagelink--]',$mydiypage,$string);
  然后10来行 $string=str_replace('[!--p.title--]',$add[title],$string);   前边添加 $mydiypage="http://".$_SERVER['SERVER_NAME']."/".$iclasspath.$newspath.$add[filename].$filetype; $string=str_replace('[!--mydiy.pagelink--]',$mydiypage,$string);
  内容模板 用[!--mydiy.pagelink--] 这个, 用前先保存这个文件一份 
								 |