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