"PHP 함수 shell command()"의 두 판 사이의 차이

(새 문서: ;PHP 함수 shell command ==소스 코드== <source lang='PHP'> function shell_command( $command ) { exec( $command, $output ); return implode("\n", $output ); } </source> 분...)
 
8번째 줄: 8번째 줄:
}
}
</source>
</source>
==같이 보기==
*[[PHP exec]]


[[분류: jmphp]]
[[분류: jmphp]]

2015년 2월 24일 (화) 09:43 판

PHP 함수 shell command

1 소스 코드

function shell_command( $command ) {
	exec( $command, $output );
	return implode("\n", $output );
}

2 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}