$myapp = new COM("word.application");
// returns a fatal error: "Class 'COM' not found in c:/www/comConnector.php"
shell_exec("whoami");
//returns "NT authority/system"
我的系统设置:
My system setup
- Win7 Pro
- Apache服务器版本:Apache/2.2.23 (Win32)
- PHP
PHP 5.3.16 (cli) (built: Aug 15 2012 20:06:57)
版权所有 (c) 1997-2012 PHP Group
Zend Engine v2.3.0,版权所有 (c) 1998-2012 Zend Technologies