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() works fine, now if I were to apply the exec, or system function to start or run a pgrogram ie: (Mercury mail)
exec('start mercury.exe', $results);
I am still facing the same issue...what what would be the solution to this?


Regards,
Mark

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to