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) Trying to

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 Kelly Meeks
param2 param3'); echo $bashresult; Doesn't execute the script, nothing in $bashresult Kelly - Original Message - From: Robert Cummings [EMAIL PROTECTED] To: Kelly Meeks [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, August 16, 2002 4:44 PM Subject: Re: [PHP] question about executing

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

2002-08-16 Thread Robert Cummings
execute the script, nothing in $bashresult Kelly - Original Message - From: Robert Cummings [EMAIL PROTECTED] To: Kelly Meeks [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, August 16, 2002 4:44 PM Subject: Re: [PHP] question about executing a bash shell script... Kelly Meeks

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 pathtoputfiles