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

How does php session work?

0 Answers  


Which php framework is best?

0 Answers  


How data or variable can be receive or send from PHP to HTML page??

3 Answers   TCS,


Tell us how to create an array of a group of items inside an html form?

0 Answers  


How do you pass a variable by value?

0 Answers  






How to find the index of an element in an array php?

0 Answers  


Why do you need to filter out empty files?

0 Answers  


Is false empty php?

0 Answers  


What changes to done in PHP.ini file for file uploading?

2 Answers  


how to count how many sundays in month?

6 Answers   Photon, SR, TCS,


Explain me how failures in execution are handled with include() and require() functions?

0 Answers  


how to make website package setup like desktop software setup ... that front end and backend can include in setup like single package...?

0 Answers  


Categories