Execute external applications in PHP
Posted: Tue Feb 24, 2004 2:51 pm
How do you execute an exe aplication from a php script?
I think it's with the exec() function, but i don't know how to use it. can you put an exemple of its usage?
Let's suppose i have an application in my root directory, and i want to execute it from my script which let's suppose it's in the same directory. How will you do that? And if the script and the application are in different directories?
I think it's with the exec() function, but i don't know how to use it. can you put an exemple of its usage?
Let's suppose i have an application in my root directory, and i want to execute it from my script which let's suppose it's in the same directory. How will you do that? And if the script and the application are in different directories?