Re: Running a Shell Script in PHP HELP!
| From: | Armando Cerna | Date: | Sun, 30 Sep 2001 23:54:06 +0000 |
| Subject: | Re: Running a Shell Script in PHP HELP! | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-69401@lists.php.net to get a copy of this message | ||
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");
>
> Matt
Yeah I did it like that I just didn't type it out in the email like that,
sorry for the confustion. Would the contents of updatemp matter, just in
case you didn't catch it on the previous email here it is
smbclient //machine/c -I 192.168.0.4 -U armando%secret -D a1 -c 'lcd /tmp/dbf
; prompt ; mget *.dbf ; quit'
Thanks,
Armando