RE: [PHP] Calling PHP shell scripts with exec from within PHP goes awry?

2003-09-23 Thread Robert Cummings
On Tue, 2003-09-23 at 07:47, Jay Blanchard wrote: > [snip] > The example that I'm really trying to do might be too complicated for > presentation here, but here's a simplified version. > > Take the shell script "helloWorld.php": > > #!/usr/local/bin/php -q > > [/snip] > > I could n

RE: [PHP] Calling PHP shell scripts with exec from within PHP goes awry?

2003-09-23 Thread Jay Blanchard
[snip] The example that I'm really trying to do might be too complicated for presentation here, but here's a simplified version. Take the shell script "helloWorld.php": #!/usr/local/bin/php -q [/snip] I could not replicate your problem on a 4.2.n or 4.3.n box but I will say thi

Re: [PHP] Calling PHP shell scripts with exec from within PHP goes

2003-09-22 Thread uvm
> 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 > n

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

2003-09-22 Thread Robert Cummings
On Sun, 2003-09-21 at 22:00, Ray Hunter wrote: > 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 c

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

2003-09-22 Thread Ray Hunter
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 cal