Assume that you have a C exe file or just any exe for that matter. In our specific example say we have generated the “Airtel tune.exe” in c . Now you create a php file having one “Submit” button.
And once you click the “submit button” you need to execute airtel tune.exe . This can be established by the following code.
System(“location of file” “arguments if any”) ;
Your Submit button can call the php file which has the above code and thus initiate the execution of this exe file. This is true for any program. You may even control your parallel port from php by writing appropriate c codes which can be called form the php file itself.