How to use the COM components in PHP?
Answers were Sorted based on User's Feedback
Use Following Code :
<?php
$objCom = new COM(“AddNumber.math”);
$result = $objCom ->AddTwoNum(2,2);
echo $result;
?>
| Is This Answer Correct ? | 6 Yes | 4 No |
Why php is widely used?
Why print_r is used in php?
What are the Formatting and Printing Strings available in PHP?
Explain the advantages of using PHP?
With a heredoc syntax, do I get variable substitution inside the heredoc contents?
Does php support multithreading?
Explain me what is the use of header() function in php?
How do you create an array in php?
What is advanced php programming?
Tell me can you extend a final defined class?
What is self in php?
Explain the difference between urlencode and urldecode?