Re: [PHP] Help with exec syntax

2003-11-16 Thread Mark
John W. Holmes wrote: Mark wrote: The syntax I am using is this. system('cmd/c start notepad my.txt', $results); or exec('start notepad my.txt', $results); You shouldn't be using exe() or system() for this, use fopen() to open a file from within PHP for editing. Thanks for the reply. The fopen

Re: [PHP] Help with exec syntax

2003-11-16 Thread John W. Holmes
Mark wrote: The syntax I am using is this. system('cmd/c start notepad my.txt', $results); or exec('start notepad my.txt', $results); You shouldn't be using exe() or system() for this, use fopen() to open a file from within PHP for editing. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/

[PHP] Help with exec syntax

2003-11-16 Thread Mark
Php 4.3.4 Win 2000 I am attempting to have the exec function open a file for editing. The file opens, however php hangs until I close the file that was orginally opened. I read in the php manual that states: "If you start a program using this function and want to leave it running in the backgro