php-src/sapi/activescript
2004-05-04 15:00:25 +00:00
..
classfactory.cpp Improve stability. 2004-05-04 14:54:01 +00:00
config.w32 - Renamed all *php4* files to *php5*, changed all php4/PHP4 to php5/PHP5 2004-01-17 13:00:38 +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
php5activescript.c Improve stability. 2004-05-04 14:54:01 +00:00
php5activescript.def - Renamed all *php4* files to *php5*, changed all php4/PHP4 to php5/PHP5 2004-01-17 13:00:38 +00:00
php5activescript.dsp - Renamed all *php4* files to *php5*, changed all php4/PHP4 to php5/PHP5 2004-01-17 13:00:38 +00:00
php5activescript.h - Renamed all *php4* files to *php5*, changed all php4/PHP4 to php5/PHP5 2004-01-17 13:00:38 +00:00
php5as_classfactory.h Improve stability. 2004-05-04 14:54:01 +00:00
php5as_scriptengine.h Just in case this header isn't present on the snaps machine. 2004-05-04 15:00:25 +00:00
README Improve stability. 2004-05-04 14:54:01 +00:00
scriptengine.cpp Improve stability. 2004-05-04 14:54:01 +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 php5activescript.dll

Usage.
======

o. Client-side script in Internet Explorer

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

o. Windows Script Host

  Create a .wsf file like this:

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

o. ASP and ASP.NET

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

o. Windows Script Components / Behaviours

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

o. MS Scriptlet control

  Set the language property to "ActivePHP5"