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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to