Once registered on your system (using regsvr32), you will be able to use PHP script in any ActiveScript compliant host. The list includes:
- • Client-side script in Internet Explorer
- • Windows Script Host
- • ASP and ASP.NET
- • Windows Script Components / Behaviours
- • MS Scriptlet control
Registering the DLL
C:\> regsvr32 php4activescript.dll
Client-side script in Internet Explorer
<script language="ActivePHP">
$window->alert("Hello");
</script>
Windows Script Host
Create a .wsf file like this:
<job id="test">
<script language="ActivePHP">
$WScript->Echo("Hello");
</script>
</job>
ASP and ASP.NET
<%@language=ActivePHP %>
<% $Response->Write("Hello"); %>
Windows Script Components / Behaviours
Use language="ActivePHP" on your <script> tags
MS Scriptlet control
Set the language property to "ActivePHP"