Page 1 of 1

Execute external applications in PHP

Posted: Tue Feb 24, 2004 2:51 pm
by klad
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?

Posted: Tue Feb 24, 2004 5:27 pm
by AVATAr
http://www.php.net/exec you have some examples.. check it