RE: [PHP] using exec/system function within php/apache app

2004-07-22 Thread David Robley
On Thu, 22 Jul 2004 12:05, Bruce wrote: > ok... > > if i simply use the shell commands "exec/system/passthru" without > specifying a dir, ie exec("ls"), then it works. however, if i specify > "exec('ls /foo')" where foo is another dir, then i don't get a response. > is there someplace where i can

Re: [PHP] using exec/system function within php/apache app

2004-07-21 Thread Jason Wong
On Thursday 22 July 2004 10:35, bruce wrote: > if i simply use the shell commands "exec/system/passthru" without > specifying a dir, ie exec("ls"), then it works. however, if i specify > "exec('ls /foo')" where foo is another dir, then i don't get a response. is > there someplace where i can open

RE: [PHP] using exec/system function within php/apache app

2004-07-21 Thread bruce
up the dirs/locations that the shell commands can operate on... thanks -bruce -Original Message- From: bruce [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 21, 2004 5:01 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: [PHP] using exec/system function within php/

RE: [PHP] using exec/system function within php/apache app

2004-07-21 Thread bruce
atrin [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 21, 2004 4:46 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] using exec/system function within php/apache app On Wed, 21 Jul 2004 16:15:00 -0700, bruce <[EMAIL PROTECTED]> wrote: > hi... > > i'm tryin

Re: [PHP] using exec/system function within php/apache app

2004-07-21 Thread Justin Patrin
On Wed, 21 Jul 2004 16:15:00 -0700, bruce <[EMAIL PROTECTED]> wrote: > hi... > > i'm trying to track down issues that i seem to be having with using > exec/system shell functions within web/php apps on apache. i'm running > php-5/apache2/rh8.0. > > i'd like to talk with anybody who's gotten the e

RE: [PHP] using exec/system function within php/apache app

2004-07-21 Thread Ed Lazor
Use the PHP passthru function. The manual has examples of how you can get the output from your commands in order to test things. > -Original Message- > hi... > > i'm trying to track down issues that i seem to be having with using > exec/system shell functions within web/php apps on apa