note 28439 added to features.commandline
| From: | stuartc1 at hotmail dot com | Date: | Mon, 13 Jan 2003 16:18:49 +0000 |
| Subject: | note 28439 added to features.commandline | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-42061@lists.php.net to get a copy of this message | ||
If you have an older version of PHP (for example 4.1.2 as I have have), and trying to execute a
script from the windows NT command line then try this:
>c:\php\php -q c:\file_to_execute.php
note that you may need to execute from withing your php.exe directory as above. remeber to put the
full path to the script you want to execute. The -q means quite mode and suppressed headers, you
could also try -f or with no switches at all.
--
http://www.php.net/manual/en/features.commandline.php
http://master.php.net/manage/user-notes.php?action=edit+28439
http://master.php.net/manage/user-notes.php?action=delete+28439
http://master.php.net/manage/user-notes.php?action=reject+28439