What you are probably looking for is:
http://www.php.net/manual/en/class.com.php

Make a COM object out of your VB DLL (more info on this is available on a VB
faq). You can use the functions on the page above to access the
functionality of the COM object.

Best Regards,
Patrick Lynch.  
==================================================================
Eirco
==================================================================
Web: http://www.eirco.com


-----Original Message-----
From: Ryan Marrs [mailto:[EMAIL PROTECTED]] 
Sent: 23 July 2001 16:00
To: [EMAIL PROTECTED]
Subject: [PHP] Send variables from php to dll and back.


I'm trying to call a VB DLL to run validation checks on user input.  I know
nothing of VB, or even how to call a DLL for something like this, so I'm
going to need to be shown like a newbie.  I've already read over Luiz
Fernando's request and responses, and they didn't seem to help me.  

For example, I need to send:

$string="Hello World";
$string2="This/Would/Fail">
$string3="Test 3";
$string4="Test%5";

<script sends $string to helloworld.dll>
.DLL grabs the string, validates it, and sends back the variables that
passed, and the variables that failed.  

IE:

$passed="string, string3";
$failed="string2, string4";

Any ideas how I would go about sending this information to the .dll and
returning it?

Thanks in advance!

Ryan

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED] To contact
the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to