#30072 [NEW]: Cannot run Microsoft Access program
| From: | canosin at hotmail dot com | Date: | Mon, 13 Sep 2004 11:48:02 +0000 |
| Subject: | #30072 [NEW]: Cannot run Microsoft Access program | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-66133@lists.php.net to get a copy of this message | ||
From: canosin at hotmail dot com
Operating system: Windows 2000 Terminal Server
PHP version: 4.3.7
PHP Bug Type: IIS related
Bug description: Cannot run Microsoft Access program
Description:
------------
After having problems runing exec(), system() and shell_exec() commands i
resolved them, but now when i open a Access program (ej. recib2k.mdb) the
web server cannot close it and stay open like a process. Anyway the
recib2k.mdb that i open, doesnt do anything, only stay open. When i run
the web page (imprimir.php) it does well. I mean, i only want to create a
pdf file and i prepared an Access file which opens, prints a pdf file and
closes. Easy.
When I run it on the server (cmd.exe) runs well, but when trying to exec
it does nothing, only stay waiting.
What can i dooo?????
---- Sorry my english ------
Reproduce code:
---------------
<?
$programa = "\"c:\\inetpub\\wwwroot\\php\\vales de
compra\\recib2k.mdb\"";
$retorno = exec($programa);
?>
The program opens but it doesent do nothing.
Expected result:
----------------
Create well the pdf (it does wellfrom the server).
Actual result:
--------------
A new Internet Explorer window opens and stay waiting for the server but
the progress bar never ends!
--
Edit bug report at http://bugs.php.net/?id=30072&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30072&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30072&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30072&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=30072&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=30072&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=30072&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=30072&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=30072&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=30072&r=support
Expected behavior: http://bugs.php.net/fix.php?id=30072&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=30072&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=30072&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=30072&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30072&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=30072&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=30072&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=30072&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=30072&r=float
MySQL Configuration Error: http://bugs.php.net/fix.php?id=30072&r=mysqlcfg