You can use PHP for many purposes.
You can use PHP
- General scripting language. (Use GCI binary with -q option. You may need
other setting to meet your purpose)
- GUI Application development (USE PHP-GTK)
Refer to following link for PHP-GTK
http://gtk.php.net/
There is compiler (I
I've heard much about how PHP is far more than just a language for web
programming, and I agree. I agree enough that I would like to actually try
it. I'd like to use PHP scripting in a C/C++ program that doesn't need a
webserver as an intermediary. I basically want to use PHP in a
are blue,
I am schizophrenic and so am I ]
-Original Message-
From: Brian Clark [mailto:[EMAIL PROTECTED]]
Sent: zaterdag 14 april 2001 19:53
To: PHP is not a drug.
Subject: Re: [PHP] PHP without a webserver
Hi Plutarck,
@ 11:37:09 AM on 4/14/2001, Plutarck wrote:
I've heard
2001 19:53
To: PHP is not a drug.
Subject: Re: [PHP] PHP without a webserver
Hi Plutarck,
@ 11:37:09 AM on 4/14/2001, Plutarck wrote:
I've heard much about how PHP is far more than just a language for
web programming, and I agree. I agree enough that I would like to
actually try it. I'd like
blue,
I am schizophrenic and so am I ]
-Original Message-
From: Brian Clark [mailto:[EMAIL PROTECTED]]
Sent: zaterdag 14 april 2001 19:53
To: PHP is not a drug.
Subject: Re: [PHP] PHP without a webserver
Hi Plutarck,
@ 11:37:09 AM on 4/14/2001, Plutarck wrote:
I'v
Hi Plutarck,
@ 2:11:35 PM on 4/14/2001, Plutarck wrote:
Ah, even better. However, how would the script be passed to PHP? As
a command line argument?
Install the CGI executable of PHP in c:\php
In your autoexec.bat:
SET PATH=c:\php;%PATH%
Reboot.
From the command line:
php -q script.php
Ahh, so it's the location of the script that get's passed.
Now, if the script was coming from a program, is there a way to hand the
file directly to PHP, or will a temporary file have to be used?
So if a user filled in a form and clicked a button in the program, the
program would toy with the
Hi Plutarck,
@ 2:40:28 PM on 4/14/2001, Plutarck wrote:
Ahh, so it's the location of the script that get's passed.
Yes:
% cat test.php
?php
while(list($i,$arg) = each($argv))
{
print "$i: $arg\n";
}
?
% php -q test.php a b c d e f g
0: test.php
1: a
2: b
3: c
4: d
5: e
6: f
7: g
%
Btw, thanks for all your answers to far ;)
I have no idea. What language? Using system() in C and Perl, I'm
sure you could concoct something. Why would you want to do that?
A move recently being made by game programmers has been to move an
increasing amount of work into a scripting engine.
On Sat, Apr 14, 2001 at 03:34:32PM -0500, Plutarck wrote :
The final layer is the scripting engine. In the script if a move_elevator()
[...]
This would allow the vast majority of the real "content" of a game or
application to be written in a scripting language, much like web apps are
now.
10 matches
Mail list logo