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 the use of rand() in php?

603


What is Type hinting in PHP?

709


What is c++ polymorphism?

517


What is mysql_fetch_row?

541


What type of comments are supported by PHP.

560






Tell me how to find the length of a string?

605


What are the final class and final method?

528


What is cookies php?

518


Explain include(), include_once, require() and require_once?

547


What is php and why we use it?

487


What is php written in?

534


Which programming language does php resemble?

529


How To Get the Uploaded File Information in the Receiving Script?

579


What is the use of nl2br() in php?

568


What is rtrim php?

541