note 52747 added to install.windows.activescript
| From: | garfield_fr at tiscali dot fr | Date: | Wed, 11 May 2005 16:08:08 +0000 |
| Subject: | note 52747 added to install.windows.activescript | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-89265@lists.php.net to get a copy of this message | ||
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 !");
----
Manual Page -- http://www.php.net/manual/en/install.windows.activescript.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+52747
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+52747&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+52747&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+52747&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+52747&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+52747&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+52747&report=yes
Search -- http://master.php.net/manage/user-notes.php