Hi,
http://php.net/manual/en/class.dotnet.php
I am referring above link. Here so many examples are there . I don't know how to use the .net assembly in php
Please any one guide me . How to do this ?
Thanks
Tamilmani Mohan
How to use .Net assembly in php ?
Moderator: General Moderators
Re: How to use .Net assembly in php ?
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
Re: How to use .Net assembly in php ?
What specifically are you having trouble with? Post your code.
Re: How to use .Net assembly in php ?
Code: Select all
<?php
$console = new DOTNET("mscorlib", "System.Console");
$varible = $console->ReadLine();
$console->WriteLine( "Varible: " . $varible );
$console->WriteLine();
unset( $varible );
unset( $console );
exit();
?>
Fatal error: Uncaught exception 'com_exception' with message 'Failed to instantiate .Net object [CreateInstance] [0x80131513] ' in C:\xampplite\htdocs\test.php:31 Stack trace: #0 C:\xampplite\htdocs\test.php(31): dotnet->dotnet('mscorlib', 'System.Console') #1 {main} thrown in C:\xampplite\htdocs\test.php on line 31
Re: How to use .Net assembly in php ?
How to add the .net assemblies in xampp server?