PHP1 php에서 pipe로 프로그램 호출하기 php에서 pipe로 프로그램 호출하기 (*pc에서 보셔야 이쁘게 나옵니다.)사용법 1. gcc -o hello hello.c 2. hello.phhp?msg= hello hello.c #include int main( int argc , char ** argv ) { if( argc < 2 ) { printf(" usage : %s message \n", argv[0] ); return 0; } printf(" message = %s\n", argv[1] ); return 0; } hello.php 2014. 10. 12. 이전 1 다음