Launching an EXE from PHP
Posted: Mon Jun 06, 2005 9:11 am
Hi All
I have a fax application that allows command line parameters to it.
If I execute the command in the command line, all works 100%. Yet, if I run the exact same command through a Php script it doesn't do anything.
Here's an example:
Could it be the webserver(Apache/2.0.52 (Win32) mod_ssl/2.0.52 OpenSSL/0.9.7e PHP/5.0.3 ) or php(PHP: 5.0.3) setup???
This R driving me NUTS!!!!!
Please HELP
I have a fax application that allows command line parameters to it.
If I execute the command in the command line, all works 100%. Yet, if I run the exact same command through a Php script it doesn't do anything.
Here's an example:
Code: Select all
<?php
chdir("c:\\");
$output = system("C:\WINDOWS\System32\calc.exe");
?>This R driving me NUTS!!!!!
Please HELP