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 |
Tell me what is the use of isset() in php?
What are default session time and path?
What is encapsulation in php with example?
Explain preg_Match and preg_replace?
List out the predefined classes in PHP?
How to find length of an array in php ?
1. Create student database. 2. First page should display the students available in the database. There should be add, edit and delete buttons. 3. There should be option to search students by name, code, date of joining, department or combination of these. 4. Should have an add/edit screen. Add and Edit should be handled in the same page. 5. Delete should ask for confirmation before deleting the actual record. 6. Validation should be done in JavaScript as well as php.
How can we know the count/number of elements of an array?
•How do you create subdomains using PHP?
How to add different images in php program like a job site.......
Tell me what is the default session time in php?
Whats the difference between include() and require()?