system() function

From: Date: Tue, 29 Oct 2002 18:08:46 +0000
Subject: system() function
Groups: php.general 
Request: Send a blank email to php-general+get-121920@lists.php.net to get a copy of this message
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

« previous php.general (#121920) next »