From c921ceb49c5df9b3ae71d9ef451093e1abbc1720 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Tue, 4 May 2004 14:54:01 +0000 Subject: [PATCH] Improve stability. Give it a new CLSID and change the engine name to ActivePHP5. Globals registered by the scripting host are now auto-globals and don't need to be declared global when accessed from within functions. --- sapi/activescript/README | 10 +- sapi/activescript/classfactory.cpp | 8 +- sapi/activescript/php5activescript.c | 4 +- sapi/activescript/php5as_classfactory.h | 7 + sapi/activescript/php5as_scriptengine.h | 18 ++ sapi/activescript/scriptengine.cpp | 228 ++++++++++++++++++------ 6 files changed, 212 insertions(+), 63 deletions(-) diff --git a/sapi/activescript/README b/sapi/activescript/README index 70f49821d8..39066f5783 100644 --- a/sapi/activescript/README +++ b/sapi/activescript/README @@ -26,7 +26,7 @@ Usage. o. Client-side script in Internet Explorer - @@ -35,22 +35,22 @@ o. Windows Script Host Create a .wsf file like this: - o. ASP and ASP.NET - <%@language=ActivePHP %> + <%@language=ActivePHP5 %> <% $Response->Write("Hello"); %> o. Windows Script Components / Behaviours - Use language="ActivePHP" on your