RE: [PHP] run php script from command line
| From: | Jamie Burns | Date: | Sat, 09 Sep 2000 12:44:11 +0000 |
| Subject: | RE: [PHP] run php script from command line | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-15987@lists.php.net to get a copy of this message | ||
you will need to download the win32 binaries.
inside you will find:
cgi-bin/php.exe
which you can run from the command line.
for example:
cd cgi-bin
php.exe myscript.php
hope this helps!
jamie.
> -----Original Message-----
> From: n e t b r a i n [mailto:net-brain@net-brain.net]
> Sent: Saturday, September 09, 2000 7:24 PM
> To: php-general@lists.php.net
> Subject: [PHP] run php script from command line
>
>
> Hi,
>
> I'd like to create a simple php script that I can run from ms-dos command
> line (I'm on win box, apache & php3-php4 installed)...
> My problem is that I've not idea how to start from ...
>
> Anyone could help me with suggestion or a small snippet?
> Many thanks in advance.
> max
>
>
> --
> 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
>