use echo "<script>.....</script>";

解决方案 »

  1.   

    there is no XmlHttp function in PHP.May you mean the XMLHttpRequest function in javascript.I mean you can write the whole javascript codes into a new html file.
      

  2.   

    为什么用xmlhttp的方法生成静态页面?
    xmlhttp是客户端的东西,你不可能用它来生成
      

  3.   

    xmlhttp 是ASP里用到的,php里直接用 fopen 就能打开远程网址
      

  4.   

    用fopen打开远程网址后,再用什么方法能把远程打开的网址保存在本机呢?
    对PHP不熟,请大家多多指教.
      

  5.   

    PHP 本来就不用XMLHTTP.
    如果你非要用 
    就用 COM 去调用即可。
      

  6.   

    猜想:原问题应该是这样的——如何用XmlHttp的方法通过PHP中生成静态页面?