Learning & Integrating web technology and code help directory

How to use PHP & Connect to excel (Excel.Application)

No comments
How to use PHP & Connect to excel (Excel.Application) The Learn / tutorial php programming how to using  PHP connect to Excel.Application (DCOM)
ShotDev Focus:
- PHP  & Connect to Excel.Application (DCOM)
Example
php_connect_excel.php
  1. <html>  
  2. <head>  
  3. <title>ShotDev.Com Tutorial</title>  
  4. </head>  
  5. <body>  
  6. <?php  
  7. $xlApp = new COM("Excel.Application");  
  8. if($xlApp)  
  9. {  
  10. echo "Excel.Application Connected";  
  11. }  
  12. else  
  13. {  
  14. echo "Cannot Connect to Excel.Application";  
  15. }  
  16. ?>  
  17. </body>  
  18. </html>  
Create a php file and save to path root-path/myphp/
Screenshot
PHP & Connect to excel (Excel.Application)
.

No comments :

Post a Comment