PHP

Moderators: None (Apply to moderate this forum)
Number of threads: 1848
Number of posts: 5016

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Outlook messages <-> PHP Posted by stutley on 18 Jan 2006 at 8:00 AM
This message was edited by stutley at 2006-1-18 8:0:36

Hi All,

I just read this article:

http://www.programmersheaven.com/articles/Bogomil/art.htm

Unfortunately, I am not that experienced in that type of programming.

I get this error:

Fatal error: Cannot instantiate non-existent class: com in [path stripped by me]..COutLook.php on line 94

Line 94 reads:

$oOutlook = new COM("Outlook.Application");

..which is in the function getUnreadinInbox.

But I have no idea what this means and what should be done? :D


Report
Re: Outlook messages <-> PHP Posted by tvienti on 18 Jan 2006 at 9:50 AM
Reference: http://sg.php.net/manual/en/ref.com.php

Odd, PHP should come with COM bundled and ready to roll. What version of PHP are you running? what OS?

T

: This message was edited by stutley at 2006-1-18 8:0:36

: Hi All,
:
: I just read this article:
:
: http://www.programmersheaven.com/articles/Bogomil/art.htm
:
: Unfortunately, I am not that experienced in that type of programming.
:
: I get this error:
:
: Fatal error: Cannot instantiate non-existent class: com in [path stripped by me]..COutLook.php on line 94
:
: Line 94 reads:
:
: $oOutlook = new COM("Outlook.Application");
:
: ..which is in the function getUnreadinInbox.
:
: But I have no idea what this means and what should be done? :D
:
:
:

Report
Re: Outlook messages <-> PHP Posted by stutley on 18 Jan 2006 at 1:26 PM
The server is running Linux. And as I can see in the documentation, that is apparently the problem - "COM functions are only available for the Windows version of PHP.". So, error is explained, I guess - I will try on a Windows server :)



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.