How can I use the COM components in php?



How can I use the COM components in php?..

Answer / 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

More PHP Interview Questions

In PHP how many size data can upload by default?

9 Answers   Classic Infotech, PG Software,


What are the common uses of php?

0 Answers  


What is difference Between PHP 5 and 7?

0 Answers  


Can I use node js with php?

0 Answers  


Why do you need php?

0 Answers  






What is the difference between $name and $$name?

0 Answers  


how to overcome server time behind twleve hours compare to local system time

0 Answers  


How can we extract string 'abc.com' from a string "http://info@abc.com" using regular expression of PHP

6 Answers   Wipro,


Tell me what the difference between the 'bitwise and' operator and the 'logical and' operator?

0 Answers  


What is escaping to php?

0 Answers  


How check variable is set or not in php?

0 Answers  


What does namespace mean in php?

0 Answers  


Categories