php-src/sapi/activescript
2003-04-24 13:53:04 +00:00
..
classfactory.cpp MFB fix for registration 2003-04-24 13:53:04 +00:00
CREDITS Add README and CREDITS... 2002-05-22 00:03:02 +00:00
EXPERIMENTAL Mark activescript sapi as experimental, so that the installer can 2003-02-05 08:12:58 +00:00
php4activescript.c Build-performance tweaks 2003-03-02 13:14:49 +00:00
php4activescript.def Implement ActiveScript interfaces. 2002-05-20 01:35:29 +00:00
php4activescript.dsp Implement ActiveScript interfaces. 2002-05-20 01:35:29 +00:00
php4activescript.h Bump year. 2002-12-31 15:59:15 +00:00
php4as_classfactory.h Bump year. 2002-12-31 15:59:15 +00:00
php4as_scriptengine.h Bump year. 2002-12-31 15:59:15 +00:00
README Add README and CREDITS... 2002-05-22 00:03:02 +00:00
scriptengine.cpp typo fix 2003-03-02 15:11:42 +00:00

This is the ActiveScript SAPI for PHP.
======================================

Once registered on your system (using regsvr32), you will be able to use
PHP script in any ActiveScript compliant host.  The list includes:

o. Client-side script in Internet Explorer
o. Windows Script Host
o. ASP and ASP.NET
o. Windows Script Components / Behaviours
o. MS Scriptlet control

Probably the most useful of these will be using it with the scriptlet
control, or in your own activescript host, so that you can very easily
embed PHP into your win32 application.

Installation.
=============

Build and install it somewhere; then register the engine like this:

  regsvr32 php4activescript.dll

Usage.
======

o. Client-side script in Internet Explorer

  <script language="ActivePHP">
  	$window->alert("Hello");
  </script>

o. Windows Script Host

  Create a .wsf file like this:

  <job id="test">
    <script language="ActivePHP">
	  $WScript->Echo("Hello");
	</script>
  </script>

o. ASP and ASP.NET

  <%@language=ActivePHP %>
  <% $Response->Write("Hello"); %>

o. Windows Script Components / Behaviours

  Use language="ActivePHP" on your <script> tags

o. MS Scriptlet control

  Set the language property to "ActivePHP"