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

Write a program to upload a file in php?

1060


What are super global variables in php?

1087


What is meant by pear in php? What is the purpose of it?

1006


What is the meaning of die in php?

1041


What does addslashes do in php?

1109


What is the best way to test the strpos() return value in php?

1023


What is composer phar?

1059


Which will check if a function exists?

1121


What is a php object?

986


How to do single and multi line comment in php?

1049


Echo is used to Display message on screen. Which is used with echo to not output the trailing newline?

1104


Can we override magic methods in php?

1057


With a heredoc syntax, do I get variable substitution inside the heredoc contents?

1158


What is php oop?

1057


What are the encryption functions available in PHP?

1181