执行php代码,并检查源文件内容是否正确

解决方案 »

  1.   

    以下debug得到,虽然我看不是很懂 ,但感觉没错了,就是显示不出来这是为什么呢?高手们帮帮忙啊!
    Thu Aug 7 14:23:40 UTC+0800 2008
    DONE [125ms]Thu Aug 7 14:23:40 UTC+0800 2008
    RECEIVED [status: 200, size: 229 bytes, time: 94ms]:ldkfjdlddddddd<?xml version="1.0" encoding="utf-8" ?><xjx><cmd cmd="as" id="content" prop="innerHTML"><![CDATA[S<html> <body> <div> <h2>Dynamically loaded</h2> <p>There you go</p> </div> </body> </html>]]></cmd></xjx>Thu Aug 7 14:23:40 UTC+0800 2008
    SENT [142 bytes]Thu Aug 7 14:23:40 UTC+0800 2008
    SENDING REQUESTThu Aug 7 14:23:40 UTC+0800 2008
    CALLING: xjxfun: refreshContentURI: http://localhost/phonemanager/xajax_smarty.phpThu Aug 7 14:23:39 UTC+0800 2008
    POST: xjxfun=refreshContent&xjxr=1218090219843&xjxargs[]=<xjxobj><e><k>select_page</k><v>S1</v></e></xjxobj>Thu Aug 7 14:23:39 UTC+0800 2008
    INITIALIZING REQUEST OBJECTThu Aug 7 14:23:39 UTC+0800 2008
    PREPARING REQUESTThu Aug 7 14:23:39 UTC+0800 2008
    OBJECT TO XML: size = 1Thu Aug 7 14:23:39 UTC+0800 2008
    OBJECT TO XML: maxDepth = 20, maxSize = 2000Thu Aug 7 14:23:39 UTC+0800 2008
    PROCESSING PARAMETERS [1]Thu Aug 7 14:23:39 UTC+0800 2008
    INITIALIZING REQUESTThu Aug 7 14:23:39 UTC+0800 2008
    STARTING XAJAX REQUEST
      

  2.   

    我问题解决了,把refreshContent 中的echo语句删除就好使了,看来不要随便在xajax中用echo随便输出。