How can I use the COM components in php?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Describe which programming language does php parallel to?

466


Tell me whether it is possible to share a single instance of a memcache between multiple php projects?

532


Why laravel is best php framework?

536


Why did you choose this particular career path?

8347


What is use of mysqli_query in php?

505






Explain Type juggling?

559


What is a static variable in php?

526


What is api example?

516


How to convert a string to lowercase in php?

551


What is an associative array?

549


Is null empty php?

523


What is serialization in php?

455


/temp is a type of filesystem directory. State Whether True or False?

580


What type of headers have to be added in the mail function to attach a file?

539


What is the purpose of a query?

498