You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Wez Furlong 20eac88e58 Tidy up a few loose ends. 22 years ago
..
CREDITS Add README and CREDITS... 24 years ago
EXPERIMENTAL Mark activescript sapi as experimental, so that the installer can 23 years ago
README Tidy up a few loose ends. 22 years ago
classfactory.cpp Major re-jig. 22 years ago
config.w32 Major re-jig. 22 years ago
marshal.cpp Tidy up a few loose ends. 22 years ago
php5activescript.c Tidy up a few loose ends. 22 years ago
php5activescript.def - Renamed all *php4* files to *php5*, changed all php4/PHP4 to php5/PHP5 22 years ago
php5activescript.dsp fix build for VC++ 6 22 years ago
php5activescript.h - Renamed all *php4* files to *php5*, changed all php4/PHP4 to php5/PHP5 22 years ago
php5as_classfactory.h Major re-jig. 22 years ago
php5as_scriptengine.h Tidy up a few loose ends. 22 years ago
scriptengine.cpp Tidy up a few loose ends. 22 years ago

README

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. 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

Configuration.
==============

ActivePHP will not use the default php.ini file.
Instead, it will look only in the same directory as the .exe that caused it to
load.

You should create php-activescript.ini and place it in that folder, if you wish
to load extensions etc.

Usage.
======

o. Windows Script Host

Create a .wsf file like this:

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

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"