A
Anonymous
Guest
What do you mean by "it's not working"? Is exec() returning anything? It ought to return the last line of the output. I see you're just providing a filename, so the file may just be somewhere other than where you expect. Try providing a full path instead of just a filename.