只能在你的服务器上检测。
用PHP启动本地查毒程序。

解决方案 »

  1.   

    通过其它网站的杀毒程序恐怕不行吧。可以通过服务器上的杀毒软件检测,调用外部命令可以用 shell_exec、exec、shell 等函数。但关键要看你的杀毒软件会返回什么结果。一般建议用 shell_exec,可以将整个返回结果存入一字符串。
      

  2.   


    感謝樓上的兩位.目前我是截取他网页的部分代码,把他的上传表单放我本地. 我吧东西上传后,他会自动跳转到一个扫描结果页面,不知是否有方法将其隐藏掉.然后我抓取他的结果进行分析. 再显示我想要的页面.$url = "http://www.virustotal.com/zh-tw/";
    $con = file_get_contents($url,false,null);
    //fclose($fp);
    eregi("<div id=\"formulario\">(.*)name=\"distribuir\" value=\"1\" />",$con,$arr);
    //echo $arr[0];
    //echo str_replace('/vt/zh-tw/recepcion','http://www.virustotal.com//vt/zh-tw/recepcion',$arr[0]);$str_end =str_replace('/vt/zh-tw/recepcion','http://www.virustotal.com//vt/zh-tw/recepcion',$arr[0])."<p class=\"boton-envio\"><input type=\"image\" src=\"http://www.virustotal.com/images/zh-tw_boton-enviar.png\" alt=\"seend\" width=\"100\" height=\"25\" onclick=\"showhide(\'opaco\',\'envio\')\" /></p></form>";
    echo $str_end;