diff options
author | Wez Furlong <wez@php.net> | 2002-05-22 00:03:02 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2002-05-22 00:03:02 +0000 |
commit | 64df5577bf78e213604254af5e21adc77e356cee (patch) | |
tree | 913ebf3b92fefb46cc14aa25b53f956f33f41e0b /sapi/activescript/README | |
parent | 139fd6a8e459b214bc5e947bf6a30e7953ac1b06 (diff) | |
download | php-git-64df5577bf78e213604254af5e21adc77e356cee.tar.gz |
Add README and CREDITS...
Diffstat (limited to 'sapi/activescript/README')
-rw-r--r-- | sapi/activescript/README | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/sapi/activescript/README b/sapi/activescript/README new file mode 100644 index 0000000000..b033110332 --- /dev/null +++ b/sapi/activescript/README @@ -0,0 +1,56 @@ +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" + + |