Forum PHP 2017

Voting

Please answer this simple SPAM challenge: min(five, two)?
(Example: nine)

The Note You're Voting On

dj dot rokx at gmail dot com
7 years ago
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.

<< Back to user notes page

To Top