How can I use the COM components in php?
Use following code:
<?php
$objCom = new COM(“AddNumber.math”);
$result = $objCom ->AddTwoNum(2,2);
echo $result;
?>
| Is This Answer Correct ? | 10 Yes | 2 No |
How to get useful error messages in php?
What is difference between array_merge and array_combine in php?
How is a constant defined in a PHP script?
Tell me what are the __construct() and __destruct() methods in a php class?
Explain the difference b/w static and dynamic websites?
What advance thing in php7?
Why using the htaccess file
Explain me what are the main error types in php and how do they differ?
What is the default session time in PHP and how can I change it?
Explain the value of the variable input is a string 1,2,3,4,5,6,7. How would you get the sum of the integers contained inside input?
What are the types of variables in php?
Tell me how to initiate a session in php?