Re: [PHP] question about executing a bash shell script...

2002-08-16 Thread Jason Wong
On Saturday 17 August 2002 04:35, Kelly Meeks wrote: > Hi folks, > > I'm learning shell scripting via linux, and have written a script that > creates the core files necessary for a users website from a master set of > files. > > Works from the shell just fine (bash makethesite.sh username pathtopu

Re: [PHP] question about executing a bash shell script...

2002-08-16 Thread Robert Cummings
the -C option bash will be looking in the wrong directory. Cheers, Rob. > > Doesn't execute the script, nothing in $bashresult > > Kelly > - Original Message - > From: "Robert Cummings" <[EMAIL PROTECTED]> > To: "Kelly Meeks" <[EMAI

Re: [PHP] question about executing a bash shell script...

2002-08-16 Thread Kelly Meeks
t: Friday, August 16, 2002 4:44 PM Subject: Re: [PHP] question about executing a bash shell script... > Kelly Meeks wrote: > > > > Hi folks, > > > > I'm learning shell scripting via linux, and have written a script that creates the core files necessary for a u

RE: [PHP] question about executing a bash shell script...

2002-08-16 Thread James E Hicks III
try something like: $bashoutput=shell_exec('/usr/bin/bash makethesite.sh username pathtoputfiles pathtogetfiles'); if that doesn't work can you use the system() function instead? James -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] question about executing a bash shell script...

2002-08-16 Thread Robert Cummings
Kelly Meeks wrote: > > Hi folks, > > I'm learning shell scripting via linux, and have written a script that creates the >core files necessary for a users website from a master set of files. > > Works from the shell just fine (bash makethesite.sh username pathtoputfiles >pathtogetfiles) > > T