RE: [PHP] Send variables from php to dll and back.

From: Date: Mon, 23 Jul 2001 16:09:20 +0000
Subject: RE: [PHP] Send variables from php to dll and back.
Groups: php.general 
Request: Send a blank email to php-general+get-59231@lists.php.net to get a copy of this message
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:rmarrs@strtrade.com] Sent: 23 July 2001 16:00 To: php-general@lists.php.net 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: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#59231) next »