Guys I need help and quick if possible, I'm working on little php program, that needs to execute c program that is on the server.
when I run it on command line ex: loginprogram ENTER
then type in: username ENTER
Pass: password ENTER
It will tell me if login is OK or Failed.
What i need to do in PHP to make that work
is it something like this Ex: $status = exec("/usr/bin/loginprogram username password");
It is not working please help.
Thanks Guys