PHP & VB

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
nemesarial
Forum Newbie
Posts: 1
Joined: Mon Jul 28, 2003 8:13 am

PHP & VB

Post by nemesarial »

I was wondering whether it is possible to use the PHP engine as an includable library in Visual Basic.
If it is possible, where could I find out more about it and what are the legal implications surrounding the distribution of such a package?

Mark H
User avatar
BDKR
DevNet Resident
Posts: 1207
Joined: Sat Jun 08, 2002 1:24 pm
Location: Florida
Contact:

Post by BDKR »

I suspect you could get all the information you need from a source download. The license is there and if I'm not mistaken, it's possible to create an embedable (I know I bunged that spelling!) compile. Check the compilation options. I don't know how you do that on Windows (I'm assuming again), but on Linux, it's "./configure --help | less'.

Do make sure you double check what I said. I haven't had access to a Linux box in three weeks and I'm going crazy!

Cheers,
BDKR
cmkpl
Forum Newbie
Posts: 2
Joined: Fri May 30, 2003 8:30 pm

Post by cmkpl »

i don't know the source code,can anyone help me to send things to php through vb,and get output through vb?
User avatar
BDKR
DevNet Resident
Posts: 1207
Joined: Sat Jun 08, 2002 1:24 pm
Location: Florida
Contact:

Post by BDKR »

cmkpl wrote:i don't know the source code,can anyone help me to send things to php through vb,and get output through vb?
First off, you shouldn't hijack threads like this. Additionally, this one has been close to dead for days now. Starting a new one would prolly have been a better idea as it would've garnered more response.

Anyways, what exactly is it that you want to do. Also, not to sound like I'm down on PHP, but you can do all the same things in VB that you can in PHP. It's just not as easy. :roll:

Let us know what you're doing. :)

Cheers,
BDKR
fractalvibes
Forum Contributor
Posts: 335
Joined: Thu Sep 26, 2002 6:14 pm
Location: Waco, Texas

Post by fractalvibes »

VB and PHP are almost apples and oranges. VB is primarily target to desktop apps and PHP is for the web. So - it depends upon what you are trying to accomplish. If it is a web app on IIS - certainly you could write a DLL Com component in VB and call it from a PHP script,
as long as you are on an IIS server. Tell us what you are trying to do and perhaps we can provide some suggestions!

fv
User avatar
JAM
DevNet Resident
Posts: 2101
Joined: Fri Aug 08, 2003 6:53 pm
Location: Sweden
Contact:

Post by JAM »

[quote="fractalvibes"]
VB is primarily target to desktop apps and PHP is for the web.
[quote]
It seems that if your serious about combining web-programming and client-software-programming, you perhaps should look into .ASP (that builds on VB).
But thats only the first thing I thought of.
Post Reply