How can I use the COM components in php?



How can I use the COM components in php?..

Answer / pankajbisane

Use following code:

<?php

$objCom = new COM(“AddNumber.math”);
$result = $objCom ->AddTwoNum(2,2);
echo $result;

?>

Is This Answer Correct ?    10 Yes 2 No

Post New Answer

More PHP Interview Questions

What is button in html?

0 Answers  


What is the purpose of the '.myd' file extension? What do thes file contain?

0 Answers  


What is the use of is_array() and in_array()?

0 Answers  


What are the differences between include() and include_once () functions?

12 Answers  


how to upload more than 50 mb? i tried but session was expired....certain time .....i was set session duration three days .... how to rectified? if any one know that post ur answer as soon as possible?already i was increase php.ini and set Also increase Memory_limit Post_max_size upload_max_filesize..........but not working......

0 Answers  


How to add comments in php?

0 Answers  


What is the difference between md5(), crc32() and sha1() crypto on php?

0 Answers  


what is benefit of magento?

0 Answers  


What is Joomla?

5 Answers   T3 Softwares, Zend,


i m a B.E,passed out few yrs bak failed to find good job due to less marks now thinkin of a career as PHP developer. is it a lucarative field and wat r career prospects; hv heard dat initial salary is very less bout 6k also most jobs r contrct jobs.pls guide me need ur valuable advice.pls hellppp!! thnx..

0 Answers   MNC,


How can I embed a java program in php file and what changes have to be done in php.ini file?

0 Answers  


hi sir am a fresher just learning LAMP COURSE linux,apache,mysql and php .just i finished my M.C.A 2009 passed out ..can any one tell after i finish this course how much salary we expect in any php based company ? and also tell please how much salary we can demand as a fresher with my M.C.A qualification as a PHP fresher in a company ? how much we get atleast mininum as a PHP fresher in CHENNAI and Bangalore just send ur valuable suggestions to kiranpulsar2007@gmail.com please guide to me sir

2 Answers  


Categories