This could be a PHP or COM question... not sure.
I am calling a custom COM object from php. I am seeing a memory leak happen
when I build my variant in C++ and then return it out to the PHP calling
into the COM.
I am using the following piece of code to take a simple C++ array of strings
and lo
n
happy in both LINUX and Windows.
// Mike Eynon
// www.MikeEynon.com
// 1366 Bulb Ave
// Santa Cruz, CA 95062
// [EMAIL PROTECTED]
// 831.588.2388 (cell)
-Original Message-
From: Phillip Fox [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 21, 2002 12:56 PM
To: Ben
Cc: [EMAIL PROTECTE
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
t1.php >>>>>>>>>>>>>>>>
in
width, everything just started working.
As well, this seems to be a Win32 thing only. I did not have this problem
in Linux running the exact same script.
// Mike Eynon
// www.MikeEynon.com
// 1366 Bulb Ave.
// Santa Cruz, CA 95062
// 831.588.2388
-Original Message-
From: Rolf [mailto
I have to agree. I am using php mail() on my local net without any
problems. The only thing I am doing differently is using a LINUX box for my
mail server. My php mail() calls happen almost instantaneously.
Mike.
// Mike Eynon
// www.MikeEynon.com
// 1366 Bulb Ave.
// Santa Cruz, CA 95062
Remember that the php chmod call requires an octel number for the
permissions flag. You can do this by putting a zero ('0') infront of the
parm.
ex. chmod("foofile",0777);
// Mike Eynon
// www.MikeEynon.com
// 1366 Bulb Ave.
// Santa Cruz, CA 95062
// 831.588.2388
-
Does the entire page draw? Are you calling into anything other than php
with the suspect page?
Try the PHP "hello world" page to see if this continues to happen...
// Mike Eynon
// www.MikeEynon.com
// 1366 Bulb Ave
// Santa Cruz, CA 95062
// [EMAIL PROTECTED]
// 831.588.
What version of PHP are you using? There is a bug in some of the later dev
versions that truncates Variant strings from COM objs to ~18 chars. Is this
what you are hitting? I know I have seen this in 4.08dev (with some Oct.
date).
// Mike Eynon
// www.MikeEynon.com
// 1366 Bulb Ave
// Santa
ou can debug with CGI, but that will involve adding a wait statement /
infinite loop to your dll that will give you time to attach a debugger.
Hopefully this helps.
// Mike Eynon
// www.MikeEynon.com
// 1366 Bulb Ave
// Santa Cruz, CA 95062
// [EMAIL PROTECTED]
// 831.588.2388 (cell)
-Ori