rtgadgetboy
Programmer
Hi all,
I am writing a PHP page that runs an external script. The script writes some text to a .txt file. When I run the script on the command line, it executes fine and the .txt file is updated. When I run the script from my PHP page, the script deletes what was already in the .txt file but does not update it.
I am running the script using the exec command in PHP->
exec("CLIPS.EXE -f p.clp"
;
clips is the program that runs the script-> p.clp
Any help much appreaciated.
Gadgetboy
I am writing a PHP page that runs an external script. The script writes some text to a .txt file. When I run the script on the command line, it executes fine and the .txt file is updated. When I run the script from my PHP page, the script deletes what was already in the .txt file but does not update it.
I am running the script using the exec command in PHP->
exec("CLIPS.EXE -f p.clp"
clips is the program that runs the script-> p.clp
Any help much appreaciated.
Gadgetboy