Re: [PHP] Running a Shell Script in PHP HELP!

2001-09-30 Thread Armando Cerna
On Sunday 30 September 2001 04:31 pm, Matt Greer wrote: > On Sunday 30 September 2001 18:23, Armando Cerna wrote: > > I have tried system (updatemp) and exec (updatemp) > > The system() function requires a string as its argument. So you need to > write it as system("updatemp"); or system("$files")

Re: [PHP] Running a Shell Script in PHP HELP!

2001-09-30 Thread Matt Greer
On Sunday 30 September 2001 18:23, Armando Cerna wrote: > I have tried system (updatemp) and exec (updatemp) The system() function requires a string as its argument. So you need to write it as system("updatemp"); or system("$files"); Matt -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Running a Shell Script in PHP HELP!

2001-09-30 Thread Armando Cerna
e/daemon/etc. > > You could sudo it in the system call. > > - k > > - Original Message - > From: "Armando Cerna" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Sunday, September 30, 2001 7:14 PM > Subject: [PHP] Running a Shell Scri

Re: [PHP] Running a Shell Script in PHP HELP!

2001-09-30 Thread Kath
- From: "Armando Cerna" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, September 30, 2001 7:14 PM Subject: [PHP] Running a Shell Script in PHP HELP! > > I have a shell script that I am executing like this $files = `shellscript`; > but if I do an if ($f

[PHP] Running a Shell Script in PHP HELP!

2001-09-30 Thread Armando Cerna
I have a shell script that I am executing like this $files = `shellscript`; but if I do an if ($files) it doesn't read $files as existing. The contents of the shell script is a smbclient line that copies a bunch of DBF files from another machine. Anyone have any idea? Below is a little snip