I'm using a COM object on W2K Professional. The COM object just returns
the value that is passed to it. If I pass more than 125 characters, I get a
PHP.EXE error on the server (running IIS5).
PHP is 4.2.2
Here is an example:
'------------------------------------------------------------
<?php
$instance = new COM("testcom.testcom");
' This is 126 characters long
$myvar =
"123456789012345678901234567890123456789012345678901234567890123456789012345
67890";
$myvar = $myvar."1234567890123456789012345678901234567890123456";
print strlen($myvar)."<BR>\n";
$result = com_invoke($instance,"returnprm",$myvar);
print $result;
' This has the same result
' $result = $instance->returnprm($myvar);
' print $result;
?>
'------------------------------------------------------------
Any ideas what's up?