public String execPHP(String scriptName, String param) { StringBuilder output = new StringBuilder(); BufferedReader input = null; String phpPath = "D:/xampp/php/php.exe"; try { String line; Process p = Runtime.getRuntime().exec(phpPath + " " +scriptName + " " + param); input = new
java直接调用php文件,和php接收参数
最新推荐文章于 2021-03-20 15:26:40 发布