Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Can you explain, when to use if-else if-else over switch statements?

1013


What is final class and final method in php?

1054


Tell me how do I check if a given variable is empty?

954


How are cookies created?

961


What is the use of @ in php?

1050


How long does a php session last for?

1037


How to set a value in session? How to remove data from a session?

991


Where is session id stored?

961


Where is session value stored php?

1027


Explain the syntax for ‘foreach’ loop with example.

964


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

1024


Write a program in php to reverse a number?

999


How can we access the data sent through the url with the post method?

944


Does browser understand php?

946


What is csrf token and how it works?

1003