Re: PHP without a webserver
| From: | Plutarck | Date: | Sat, 14 Apr 2001 18:40:28 +0000 |
| Subject: | Re: PHP without a webserver | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-48575@lists.php.net to get a copy of this message | ||
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 form a little, then send the form to PHP. Is that
possible using the CGI executible?
--
Plutarck
Should be working on something...
...but forgot what it was.
"Brian Clark" <brianj@fusionwerks.com> wrote in message
news:81141998203.20010414142600@fusionwerks.com...
> 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
>
> And read about $argc and $argv. If you're familiar with C, those
> shouldn't be a problem.
>
> -Brian
> --
> PGP is spoken here: 0xE4D0C7C8
> Please, DO NOT carbon copy me on list replies.
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>