Hi all,
I currently have php 4.3.10 loaded on a windows 2003 server running apache 2.0.52. PHP and the web server work fine. I've got the code (that used to work on an old NT box running IIS and an earlier version of PHP...I think 4.1 or 4.2??)
Again...that used to work on NT, but now I can't get it to work on 2003. I believe the issue lies with the new COM() line, but it doesn't print out the or die statement.
I've followed the article on this site (which is how I got this Excel COM function to work with NT in the first place:
but perhaps this doesn't apply to the new win 2003 server?
I have the appropriate IUSR_MACHINE_Name user with Excel COM launch, etc. permissions.
Any ideas?
Thanks.
I currently have php 4.3.10 loaded on a windows 2003 server running apache 2.0.52. PHP and the web server work fine. I've got the code (that used to work on an old NT box running IIS and an earlier version of PHP...I think 4.1 or 4.2??)
Code:
//.....code
$excel = new COM("Excel.Application") or Die ("Did not connect");
//Open the workbook that we want to use.
$book = $excel->Application->Workbooks->Open($reportPath.$rptName);
//....more code
I've followed the article on this site (which is how I got this Excel COM function to work with NT in the first place:
but perhaps this doesn't apply to the new win 2003 server?
I have the appropriate IUSR_MACHINE_Name user with Excel COM launch, etc. permissions.
Any ideas?
Thanks.