Re: 2 successive commands in one shell_exec?

From: Date: Tue, 21 Oct 2008 19:35:06 +0000
Subject: Re: 2 successive commands in one shell_exec?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-282212@lists.php.net to get a copy of this message
On Mon, Oct 20, 2008 at 9:16 PM, Govinda <govinda@blisscode.com> wrote: > I mean I need to do that, and so with my very newbie level of understanding > I think I need to have that shell_exec essentially do 2 things at once: > -goto the right dir, and then > -fire the script in that dir. > like these 2 successive commands in terminal: > cd $MyPath > ./MyOtherCGI.cgi cd $MyPath && ./MyOtherCGI.cgi or you maybe using full path: $MyPath/MyOtherCGI.cgi -- Saludos Oscar

« previous php.general (#282212) next »