How to 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 ?    6 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is PDO?

801


How we can declare variable in php?

513


Why do you need to filter out empty files?

534


Explain me is it possible to destroy a cookie?

561


What is PHP? Who is the father or inventor of PHP?

612






List functions available to sort an php array?

547


Name some of the popular frameworks in php.

555


How many functions are there in php?

521


What is php resource type?

534


Tell me what does $_env means?

534


What are the encryption functions available in PHP?

571


Which is faster for or foreach php?

503


How to take a substring from a given string in php?

520


What is member function?

566


What software is required for php?

538