【发布时间】:2011-02-23 23:52:12
【问题描述】:
我在 .net 代码中有这个功能:
public class StringGenerator
{
public static string GenerateString(string hash)
{
return hash.GetHashCode();
}
}
我希望能够从 PHP 页面调用它。知道怎么做吗?
编辑:查看 php 文档,http://www.php.net/manual/en/class.dotnet.php,我认为这是可能的。但我无法编写代码来找到这个 dll,即使使用强命名的 dll。 dll文件与php页面位于同一文件夹中。
【问题讨论】: