Hello,
I am a PHP developer but I want to use PHP for something else. I want PHP to handle something and post result to a form by using windows API's like ShowMessage() SendMessage().
For example; PHP queries database with (SELECT TOP 1 Username FROM USERS) and appoints the result into $username variable. Then $username variable should be posted into a textbox of a form application. (e.g A textbox of Blahblah.exe which is running.)
Is it possible to do it with PHP?
Ps. I know it's possible with languages such as C++, VB but I want to know if it is possible with PHP. (somehow)
Using PHP with windows API's. Possible?
Moderator: General Moderators
- AbraCadaver
- DevNet Master
- Posts: 2572
- Joined: Mon Feb 24, 2003 10:12 am
- Location: The Republic of Texas
- Contact:
Re: Using PHP with windows API's. Possible?
I haven't used COM in a while and not that extensively, and I have never used this: http://us3.php.net/manual/en/function.c ... object.php
But it sounds like what you want.
But it sounds like what you want.
mysql_function(): WARNING: This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQLextension should be used. See also MySQL: choosing an API guide and related FAQ for more information.
Re: Using PHP with windows API's. Possible?
Nope, that's for COM servers - meaning applications specifically exposing API through COM. Aristona wanted to use lower level winapi calls.AbraCadaver wrote:I haven't used COM in a while and not that extensively, and I have never used this: http://us3.php.net/manual/en/function.c ... object.php
But it sounds like what you want.
I once used this extension: http://www.php.net/manual/en/intro.w32api.php but it wasn't maintained even then and had some bugs (like not being able to call functions with more than 3 parameters).
Re: Using PHP with windows API's. Possible?
This extension looks promising btw http://winbinder.org/manual.php