Dan Shirah wrote:
>> It doesn't appear that your function accepts a parameter. What does
>> this do:
>>
>> //VB
>> Public Function hello(ByVal name As String) As String
>> hello = "Hello " & name & "!"
>> End Function
>>
>> //PHP
>> echo $new_com->hello("Dan");
>>
>> --
>> Thanks!
>> -Shawn
>> http://www.spidean.com
>>
>
> Shawn I tried what you suggested but it returns the following:
>
> *Fatal error*: Cannot pass parameter 1 by reference
>
Just guessing as I haven't used the PHP COM stuff, but what do you get
if you change ByVal to ByRef?
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php