I'm using a COM object from Xceed Software to create self extracting zip files (.exe). Everything works pretty good except one line:
I get an error on this line:
$xZip->SfxMessages(3) = "This is my message";
PHP Fatal error: Can't use method return value in write context in test.php on line 133
In ASP the same line would read:
xZip.SfxMessages(xsmIntro) = "This is my message"
The index of xmsIntro is 3, and I get the current value of this message if I do:
Seems like I cannot write to it. Is this a "weakness" in PHPs implementation of COM stuff?
$value = $xZip->SfxMessages(3);
EDIT: if I do:
instead, I get this error:
$xZip->SfxMessages = "This is my message";
Error [0x8002000e] Invalid number of parameters.
Anybody know of some other way of creating self extracting zip files (.exe)?