차근차근/PHP

java데이터 php에서 받기?

예쁜꽃이피었으면 2014. 12. 2. 11:14

http://codepad.org/lH1uYDyg



<?php

function match($file1) {
	exec("./leaf_recog $file1", $result);
	return $result;
}

	//시작
	$fileName = $_REQUEST['fileName']; // 필요
	//httpuoloader.java에 json이 보냄?
	$r = match("upload/$fileName");
	
	echo urldecode(json_encode($r));
	

?>



Output:

Disallowed system call: SYS_pipe


반응형