Re: Calling PHP shell scripts with exec from within PHP goes awry?

From: Date: Mon, 22 Sep 2003 02:00:25 +0000
Subject: Re: Calling PHP shell scripts with exec from within PHP goes awry?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-163536@lists.php.net to get a copy of this message
On Mon, 2003-09-22 at 19:50, uvm wrote: > I'm beggining to develop the theory that things go awry when > using exec from within a webserver-executed PHP script to call > a shell script itself written in PHP. > Why are you trying to call a php script with exec...since it is php why not just call it directly instead of creating a process outside of the php you are in and then creating a php cgi to do the processing. It is easier to call parse the file with the php process that you are currently in. -- bigdog

« previous php.general (#163536) next »