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?
Execute external applications in PHP
Moderator: General Moderators
- AVATAr
- Forum Regular
- Posts: 524
- Joined: Tue Jul 16, 2002 4:19 pm
- Location: Uruguay -- Montevideo
- Contact:
http://www.php.net/exec you have some examples.. check it