Re: Using DLL with PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>
>  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

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux