adspace


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

sort term descripttion form, report and uery

2257


How to create a web form?

1116


Write a program using while loop?

1128


What is trait in php?

1072


How to calculate the difference between two dates using php?

1151


What is the current stable version of php?

1130


What is the difference between htmlentities() and htmlspecialchars()?

1100


if you run the app program all vendor open items are cleared but is it possible to reverse the again again open items please tell me the answer

1997


Name and explain five of the PHP error constants?

1043


Explain me is it possible to destroy a cookie?

1035


What is the current stable version of php? What advance thing in php7?

1100


What sized websites have you worked on in the past?

1092


Which variable declarations within a class is invalid in php?

1052


Tell me what kind of things have you done on the social side?

1071


hello all, I need some sample placement papers in lion bridge.. can anyone help me?

2181