Re: Help with exec syntax

From: Date: Mon, 17 Nov 2003 01:38:50 +0000
Subject: Re: Help with exec syntax
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-169871@lists.php.net to get a copy of this message
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/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com

« previous php.general (#169871) next »