Re: system() function
| From: | Jonathan Sharp | Date: | Tue, 29 Oct 2002 21:21:46 +0000 |
| Subject: | Re: system() function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-121954@lists.php.net to get a copy of this message | ||
Ewwww... try COM maybe...
-js
Don Hicks wrote:
> Hello,
>
> I'm running php on a Win2000 server.
>
> I also have an MS Access 97 database on the server.
>
> I want to tell the database to execute a macro on an "as needed" basis by
> running a php system() function, but I'm having difficulty making the action
> happen.
>
> I suspect it's my coding.
>
> I'm currently putting the following into my php:
>
> system("C:\Program Files\Microsoft Office\Office\MSACCESS.EXE
> C:\Inetpub\wwwroot\DATABASENAME.mdb /x MACRONAME")
>
> The server shows that MS Access is running a process, but it never finishes
> (seems to hang up).
>
> Does anyone have advice for me?
>
> Don Hicks
>
>
>