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 can we convert asp pages to PHP pages?

3 Answers   Agile Software,


What is the use of $_server and $_env?

0 Answers  


How to open standard output as a file handle?

0 Answers  


How to change the principal password?

0 Answers  


What is register_globals in php?

6 Answers   Castling IT, HCL, Intel Soft Solutions, Millennium,


How can we display information of a variable and readable by a human with php?

0 Answers  


Tell us what does $_cookie means?

0 Answers  


Distinguish between urlencode and urldecode?

0 Answers  


How to replace a text in a string with another text in php?

0 Answers  


what is the difference between mysql_fetch_array() and mysql_fetch_row()?

17 Answers   Google,


Do you know what is the difference between the include() and require() functions?

0 Answers  


What is regular expression in javascript?

0 Answers  


Categories