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

Is salary fixed or variable cost?

0 Answers  


Are react hooks stable?

0 Answers  


Tell us what is the difference between session_unregister() and session_unset()?

0 Answers  


How can I loop through the members of an array?

1 Answers   Rushmore Consultancy,


How to get the IP address of the client/user in PHP?

0 Answers  


Explain what does $_files means?

0 Answers  


What is meant by nl2br()?

4 Answers   Rushmore Consultancy,


Why session is required?

0 Answers  


Explain different sorting function in php?

0 Answers  


Explain me what is the use of 'print' in php?

0 Answers  


Do you know what does $globals means?

0 Answers  


What is the use of count() function in php?

0 Answers  


Categories