I’m using a C#.NET DLL with ASP.NET 2.0 and it’s working now. I want to use the same DLL in PHP.
I’m a newbie in PHP; would someone please tell me how to use it in PHP or could you share some example?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
PHP has a built-in Windows-only extension called DOTNET that allows you to use .NET libraries in a PHP application.
Note that you’ll need to make sure your assemblies are declared as COM visible:
Here are two examples.
Another example demonstrating functionality of DOTNET class: