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
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
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
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
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
5 matches
Mail list logo