note 52745 deleted from install.windows.activescript by tularis
| From: | tularis@php.net | Date: | Thu, 23 Feb 2012 10:02:58 +0000 |
| Subject: | note 52745 deleted from install.windows.activescript by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-186314@lists.php.net to get a copy of this message | ||
Note Submitter: garfiel_fr at tiscali dot fr
----
There is another way to execute a PHP ActiveScript:
1/ In explorer, open menu "Tools/Folder Options"
2/ Go to tab "File Type"
3/ Click on "New" button and enter a file extension ( PHS for my sample ), you can also
select "PHPScript" in "Advanced" button. Then OK, a new file extension is
registered.
4/ In tab "File Type" select the new extension and click on button "Advanced". A
new dialog box is open.
5/ Click on "New" button and fill edit box with:
Action: Run
Application to use: C:\WIN2K\system32\wscript.exe //E:PHPScript "%1" "%2"
That's all !!
Now, your code don't need XML tag at the begining. Hello work in test.phs will be:
$WScript->Echo("Bonjour le monde !");