- Jun 7, 2000
- 481
- 0
- 0
I have a file called search.exe that I would like to call using php from a web page.
The file is in the same directory as the page that is calling it.
search.exe runs fine when I run it from a command line, but I can't get php to execute it.
I have tried ``, exec, etc.
Do I need to have 777 permissions set on the executable?
Full path to the file?
The file needs no arguments, and returns nothing (it writes its results to a file, results.txt)
I am 99% sure the server is *nix
Some tips would be appreciated on using these functions, thanks.
--Jay
The file is in the same directory as the page that is calling it.
search.exe runs fine when I run it from a command line, but I can't get php to execute it.
I have tried ``, exec, etc.
Do I need to have 777 permissions set on the executable?
Full path to the file?
The file needs no arguments, and returns nothing (it writes its results to a file, results.txt)
I am 99% sure the server is *nix
Some tips would be appreciated on using these functions, thanks.
--Jay