Well this is probably a noob question but here it goes.
How does one go about getting the output from a program?
I know you run system() but that just returns an integer.
Is there perhaps a command similar to exec() in PHP?
Or do you have to have the program you're running write to a file.
Well thanks for the help.