看板 PHP 關於我們 聯絡資訊
不好意思請問大家 我想利用system調用R執行test.R 如果我在console下輸入php a.php可以順利執行 但如果是用瀏覽器開啓 就毫無反應 不會執行到這一行 請問是哪邊沒有注意到呢 謝謝 a.php ------------------------------------------------- <?php $a = system("R --vanilla --slave < test.R"); header("Cache-Control: no-cache, must-revalidate"); header("Pragma: no-cache"); header("Expires: Mon, 1 Mon 1990 00:00:00 GMT"); ?> -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.109.22.215
buganini:R打完整路徑 03/14 21:12