你想up.php多大?
将框架设为固定就行了.
<frameset rows="80,*" frameborder="NO" border="0" framespacing="0">
  <frame src="up.php" name="topFrame" scrolling="NO" noresize >
  <frame src="content.php" name="mainFrame">
</frameset>

解决方案 »

  1.   

    因为该网页有如下语句:
    if(top.window.frames.length>0) {top.location.replace(self.location)};
    //防止被其他网站frame
      

  2.   

    一种可能的方法
    content.php中
    $url = "http://jobs.workopolis.com/jobshome/db/work.job_posting?pi_job_id=6544656";
    $buf = file_get_contents($url); //也可以用join("",file($url))/* 从$buf中删去形如
    if(top.window.frames.length>0) {top.location.replace(self.location)};
    的语句,当然不只是这种写法,比如我就喜欢写成
    if(window != top)
      top.location = location;并在$buf中加入<base href="http://jobs.workopolis.com/jobshome/db/">
    */
    echo $buf;
    ?>