RE: [PHP-WIN] Re: How do I create a win app that incorporates php's functionality?
| From: | alain samoun | Date: | Wed, 07 Nov 2001 21:11:36 +0000 |
| Subject: | RE: [PHP-WIN] Re: How do I create a win app that incorporates php's functionality? | ||
| References: | 1 | Groups: | php.general php.windows |
| Request: | Send a blank email to php-general+get-73798@lists.php.net to get a copy of this message | ||
Well, as suggested, you can use php-GTK, but you can also use the browser as
a container for your php script with some COM commands for GUI, and run it
as localhost in Apache. You won't need to use C++ and VB - Obviously the
best thing ;)
A+
Alain
-----Original Message-----
From: nobody [mailto:yodaa222@NOSPAMhome.com]
Sent: Tuesday, November 06, 2001 10:35 PM
To: php-windows@lists.php.net; php-general@lists.php.net
Subject: [PHP-WIN] Re: How do I create a win app that incorporates php's
functionality?
No, no no no. PHP is much more than a server-side scripting language.
That's only one of many possible uses for it. PHP is one bad-assed tool
that can do much more than mere server-side scripting. I want to use it to
script the way a program behaves. For the project I'm working on it would
be VERY impractical to write a new executable every time I need it to do
something different, so I have to have some sort of scripting to make it
work. I could write my own scripting language.... I guess.... but why try
to reinvent the wheel? Why make my program ride around on semi-rounded
rocks when there are goodyear tires right over there I could use... if I
could only figure out those damned lug nuts. (I know, lame analogy...)
"Todd Williamsen" <todd@williamsen.net> wrote in message
news:20011106160728.63791.qmail@pb1.pair.com...
> I have no idea why you are calling php.exe you should be, the web server
> should be. PHP is a server side scripting language. What is written VB
and
> C++ that you need to use it?
>
>
> "Nobody" <yodaa222@NOSPAMhome.com> wrote in message
> news:20011105100717.71531.qmail@pb1.pair.com...
> > Hi - I've been searching www.php.net, www.zend.com, and just about
> > everywhere else on the net for about 2 weeks looking for the answer to
> > this.... maybe I'm just missing the obvious, but I'm going nuts looking
> so
> > I figured I'd ask this newsgroup.
> >
> > I need a programmable interface for C++/VB programs and I would like to
> know
> > if it is possible with php, and if it is, how would I do it or where
would
> I
> > find instructions/tutorials on how to do it?
> >
> > In case this isn't very clear (which I'm sure it isn't), I'll
> > elaborate.
> > Let's say I have a php script. It outputs some text and asks a
question.
> > My C++ or VB program reads this and prints it out in a pretty GUI, gets
> the
> > answer to the question from the user and sends it back to php (the php
> > script should also tell C++/VB the type of answer it needs, text,
> checkbox,
> > radio, etc.). Php then sends the next question, which may or may not
> depend
> > on the answer to the last question, or may even depend on the answers to
> > several previous questions, etc. Here's the problem I have: if I just
do
> > something like "php.exe<input>output" then the variables are lost every
> time
> > I call php. Is there any way to do what I want it to do? TIA for any
> help
> > you can give me.
> >
> >
>
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
For additional commands, e-mail: php-windows-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net