function echo_view_print ($frame='')
{
$frame = $frame ? $frame : "document.all";
echo "<input type=image alt='打印预览' src='./images/view.gif' name=Button onClick=".$frame.".WebBrowser.ExecWB(7,1) >\n"; 
}

解决方案 »

  1.   

    加了以下的一段代码,在htm文件中能实现 ,但在php中就有问题,是不是php配置的问题?function Enter(){
      wndShell = new ActiveXObject("Shell.Application");
      var oFolder;
       oFolder = wndShell.BrowseForFolder(0,"select folder。",0x0001);    if((oFolder != null)){
            alert(oFolder.Items().Item().Path);
            return true;
        }
        return false;
    }
      

  2.   

    你那个东西本来就是在html中的,放在php你当然不行了
      

  3.   

    gz
    很需要一个这样的目录浏览的控件.php的
      

  4.   

    那php中就不能实现这个功能了吗?