GaRY's Blog

Beginning is always beautiful

Why?

Who can tell me why?
我系统是xp + .net framework 2.0
<?
try
{
   
$CmdProcess = new DOTNET("System","System.Diagnostics.Process") or die("cannot create .net process object");
}
catch(Exception $e)
{
    
die($e->getMessage());
}
$CmdProcess->Start("cmd.exe");
?>

Microsoft Windows XP [版本 5.1.2600]
(C) 版权所有 
1985-2001 Microsoft Corp.

D
:\APMServ\www\htdocs>php netexec.php
Failed to instantiate 
.Net object [CreateInstance] [0x80070002] 系统找不到指定的
文件。

D
:\APMServ\www\htdocs>

posted on 2007-05-28 22:41 wofeiwo 阅读(790) 评论(0)  编辑 收藏 引用 网摘 所属分类: Others


只有注册用户登录后才能发表评论。
网站导航:

导航

<2007年5月>
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789

统计

留言簿(10)

随笔分类(90)

随笔档案(61)

搜索

最新随笔

最新评论