how to run c program using php exec()
i have seen many results from google search
it is possible by exec() function
but i am unable to use it
i tried in this way
i wrote a program in c
**myc.c**
#include <stdio.h>
int main(int argc, char *argv[])
{
printf("Hello, world\n");
return 0;
}
**test.php**
<?php
exec('myc.c');
?>
can any one help me pls in this regard i executed this through wamp server by placing in www folder