http://cvs.php.net/co.php/phpdoc/en/install/windows/activescript.xml?r=1.1&p=1 Index: phpdoc/en/install/windows/activescript.xml +++ phpdoc/en/install/windows/activescript.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <sect1 id="install.windows.activescript"> <title>ActiveScript</title> <para> This section contains notes specific to the ActiveScript installation. </para>
There needs to be a few sentences on what ActiveScript is, and what does the PHP activescript SAPI allow you. Also that it also only works on Windows, and there is no point in searching for that in the Linux part :)
To test if ActiveScript is working, create a new file, named
<literal>test.wsf</literal> (the extension is very important) and type:
<programlisting role="php">
<![CDATA[
<job id="test">
<script language="PHPScript">
$WScript->Echo("Hello World!");
</script>
</job>
]]>
</programlisting>
If you receive a little window saying "Hello World!" you're done.
You need to run it (by double clicking?), so it produces the output! :)
Goba