Re: PHP server and VB6 core
well, it would be possible to create extensions for PHP, but I'm not really sure what you want to do would be possible. as far as I know (and I will say that I'm not entirely sure of this), PHP extensions are written in the PHP interpreter's language: C. you can learn a lot about writing extensions for PHP here.
it would honestly probably be faster/more efficient for you to rewrite the VB functions in PHP. I would say that it will also be a lot less code, as VB tends to be extremely verbose. it would most likely interface with MySQL faster (I don't even know if you could create a library [DLL] that -could- interface with MySQL by itself) than something written in VB, too.
Re: PHP server and VB6 core
Hello, kows!
Thank you for your quick reply!
I understood.
To be frank- if I have to start programming in PHP then I can start with anything else, like ASP etc. I wanted to avoid this because I have only 1 person with PHP knowhow and another 4 guys with VB6 knowhow. And a lot of experience with VB6, ADO, SQL.
I have to reconsider.
With kindest regards
krava
Re: PHP server and VB6 core
You can load DLL's into PHP and call their functions but it is not something I would recommend.
http://uk3.php.net/manual/en/refs.utilspec.windows.php
Doing this would obviously add overhead to page requests and I doubt that based on their apparent inability to learn a new language, your programmers will be able to adapt the programs to ensure they are thread safe (i.e. detecting race conditions, dead locks, managing sessions etc.)
If you want to write in Classic VB I suggest that you develop something in ASP. While it is not the best, the language (VBScript) is very similar to VB and would only require learning web web design / programming concepts.
Or you could of course tell them all that they have six months to learn either .NET or PHP or they can go work for someone else ;)