How can I use the COM components in php?

Answer Posted / pankajbisane

Use following code:

<?php

$objCom = new COM(“AddNumber.math”);
$result = $objCom ->AddTwoNum(2,2);
echo $result;

?>

Is This Answer Correct ?    10 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to set a page as a home page in a php based site?

603


Explain difference between urlencode and urldecode?

633


What are the characteristics of php?

650


how to track user logged out or not? when a user is idle?

605


What are form input html tags?

634






What does isset() function?

620


Require_once(), require(), include(). What is difference between them?

606


Tell me what does the scope of variables means?

608


What is design pattern? Explain all including singleton pattern?

618


What is the use of nl2br() in php?

656


How to set a value in session? How to remove data from a session?

589


In how many ways we can retrieve the data in the result set of mysql using php?

567


What is nginx and what is it used for?

591


How to create an empty array in php?

691


Why constructor is not overridden?

608