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

Tell me how to get the value of current session id?

0 Answers  


What is session management php?

0 Answers  


What do you use php for?

0 Answers  


What is difference between ksort() and usort() functions.

0 Answers  


What are regular expressions in programming?

0 Answers  






Which are the best start and end tags to use?

0 Answers  


Where is session value stored php?

0 Answers  


how to add file in php?

1 Answers   CTS,


What are the three classes of errors that can occur in php?

0 Answers  


How do you access a get requests url parameter with php?

0 Answers  


What is the difference between abstract class and interface in php?

0 Answers  


How does php sessions work?

0 Answers  


Categories