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 isset work?

1 Answers  


Why do we use namespace in php?

1 Answers  


How values in arrays are indexed?

1 Answers  


Which php framework is best for security?

1 Answers  


What are the different data types in javascript?

2 Answers  


How to create a mysql connection in php?

1 Answers  


What does php exit do?

1 Answers  


How big is varchar max?

1 Answers  


Can we extend final class in php?

1 Answers  


Can a php code encryted? Is it possible to execute the php file which is encrypted(without decrypting), if so pleaze tell me the way.

3 Answers  


Without using forms and hidden variables, how to send variables from a PHP script to another URL using POST method?

2 Answers  


How to remove values saved in the current session?

1 Answers  


Categories