note 93479 added to features.commandline
| From: | dj dot rokx at gmail dot com | Date: | Fri, 11 Sep 2009 20:34:24 +0000 |
| Subject: | note 93479 added to features.commandline | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-160475@lists.php.net to get a copy of this message | ||
Use PHP as Scripting Language in Windows Vista and 7:
ASSOC .phs=PHPScript
FTPYE PHPScript=[path to]\php.exe -f "%1" -- %*
optional set PATHEXT=.phs;%PATHEXT%
now you can execute any php-script (ext: .phs) from the shell like a .vbs or .cmd.
"c:\testscript.phs arg1 arg2" or with the optional step "c:\testscript arg1
arg2"
i hope this helps somebody.
----
Server IP: 69.147.83.197
Probable Submitter: 88.117.20.181
----
Manual Page -- http://www.php.net/manual/en/features.commandline.php
Edit -- https://master.php.net/note/edit/93479
Del: integrated -- https://master.php.net/note/delete/93479/integrated
Del: useless -- https://master.php.net/note/delete/93479/useless
Del: bad code -- https://master.php.net/note/delete/93479/bad+code
Del: spam -- https://master.php.net/note/delete/93479/spam
Del: non-english -- https://master.php.net/note/delete/93479/non-english
Del: in docs -- https://master.php.net/note/delete/93479/in+docs
Del: other reasons-- https://master.php.net/note/delete/93479
Reject -- https://master.php.net/note/reject/93479
Search -- https://master.php.net/manage/user-notes.php