note 52747 deleted from install.windows.activescript by nlopess
| From: | nlopess@php.net | Date: | Wed, 11 May 2005 17:44:46 +0000 |
| Subject: | note 52747 deleted from install.windows.activescript by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-89276@lists.php.net to get a copy of this message | ||
Note Submitter: garfield_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 !");