Exec multiple comands
Posted: Mon Jul 26, 2010 11:39 am
Hello everyone,
I'm starting to go crazy looking for an answer. Is it possible to execute multiple commands from php using the exec() function?
Here is an example, I have an executable file, driv_calc.exe. When I execute that file, it prompts me with a series of options to choose from. So i'll enter 4 for option 4. Then the program will prompt me with another list and so on and so forth.
Can I perform this same task in php? If so, how? If not, why not?
Thanks
I'm starting to go crazy looking for an answer. Is it possible to execute multiple commands from php using the exec() function?
Here is an example, I have an executable file, driv_calc.exe. When I execute that file, it prompts me with a series of options to choose from. So i'll enter 4 for option 4. Then the program will prompt me with another list and so on and so forth.
Can I perform this same task in php? If so, how? If not, why not?
Thanks