Guessing I would suggest that you examine the permissions on the file
referenced by $DocumentPath and see if IUSR_ has read permssion. If
not, either run the site as a user with permission or grant the IUSR read
permission on the document.
Alan.
- Original Message -
From: "RS Herhuth" <[E
I assume that the problem is that olMailItem is a constant and not a string
This causes the error:
$myItem = $objApp->CreateItem("olMailItem");
This does not:
$myItem = $objApp->CreateItem(olMailItem);
Of course you have to have:
com.autoregister_typelib = true
in your php.ini or you will nee
I have never found any detailed docs on the subject, but when I was playing
with IIS configuration, I found that it was capable of returning an ACL and
it is true that I can instantiate a component called "AccessControlEntry"
$ACE = new COM("AccessControlEntry");
$ACE->Trustee = "Administrator";
This way you only have one errant
instance and not hundreds.
Alan.
- Original Message -
From: "Neil Lincoln" <[EMAIL PROTECTED]>
To: "Alan Brown" <[EMAIL PROTECTED]>; "Scott Hurring" <[EMAIL PROTECTED]>;
"Php-Win (E-mail)" <[E
se with PHP
> finishing up and EXCEL still in memory when a
> temp-object is not properly unset())?
>
> ---
> Scott Hurring
> Systems Programmer
> EAC Corporation
> [EMAIL PROTECTED]
> Voice: 201-462-2149
> Fax: 201-288-1515
>
> > -Original Message---
I am fairly sure you are talking about the IConnectionPoint technology which
you get at in VB with "WithEvents".
It is in the COM TODO list but has never bubbled up to be implemented.
Alan
- Original Message -
From: "mickael jeantet" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent:
There is a missing "Release" call in the COM code when temporary objects are
created for a construct such as
$excel->application->DisplayAlerts = False;
This is not as visible a problem with an inproc server as with a localserver
such as Excel.
It is fairly easy to work around this (until I get
There were definitely two nasty bugs in the COM code which I believe that I
have fixed and checked into CVS. But the root cause of your problem is
actually a COM exception thrown by ADODB.Connection. I see this exception
when I pass "position" (a valid field name in the database) in a SQL queries
I did spend some time fixing up the bindlib_w32 some months back (in
preparation for just this fix) - but I never did check in any changes to the
PHP code (mostly beacuse I did not know who manages the bindlib_w32 code
stored on the PHP.net web server). And I have to say that I did not bother
with
It is actually quite simple:
Solution 1) Put ACLs on the .php files and IIS will request authentication.
After authentication, the script runs as the authenticated user.
If this is not desirable:
Solution 2) Go into the configuration for the the site (or virtual
directory) and select the "Direc
AIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 09, 2001 11:26
Subject: [PHP-WIN] strings chopped in half using COM objects
> On Thu, 08 November 2001, "Alan Brown" wrote:
>
> >
> > I just grabbed the very latest from CVS (which seems to ha
I spent a little time looking at this sample code and thinking about the
questions we discussed on the phone yesterday afternoon. I have seen a
number of questions posted to this newsgroup that show that you are not
alone in trying to get started and to get a handle on COM, so I thought
others mig
12 matches
Mail list logo