Hi,
I just downloaded the windows binary ver. 5.2.6 and extracted the
contents of zip file in c:\apache\php. I am planning to use it under
the Windows Script Host and as per the directions I also downloaded
the activescript dll and registered it based on the following
recommendation:
REGEDIT4
[HKEY_CLASSES_RO OT\.phs]
@="PHPScript"
[HKEY_CLASSES_RO OT\PHPScript]
@="PHPScript"
"EditFlags"=dwo rd:00000000
"AlwaysShowExt" =""
"BrowserFlags"= dword:00000008
[HKEY_CLASSES_RO OT\PHPScript\sh ell]
@="Run"
[HKEY_CLASSES_RO OT\PHPScript\sh ell\Run]
[HKEY_CLASSES_RO OT\PHPScript\sh ell\Run\command]
@="wscript.ex e //E:PHPScript \"%1\" \"%2\""
[HKEY_CLASSES_RO OT\PHPScript\sh ell\Run\ddeexec]
[HKEY_CLASSES_RO OT\PHPScript\sh ell\Run\ddeexec \Application]
@="wscript"
[HKEY_CLASSES_RO OT\PHPScript\sh ell\Run\ddeexec \Topic]
@="System"
But when I run this sample code
<job id="PERLandVBS" >
<script language="PHPSc ript">
$WScript->Echo("Hello from phpScript");
</script>
</job>
I get following error:
Line: 3
Char: 18
Error: The value for the attribute is not valid: language
Code: 80040049
Source: Windows Script Host
Any help is really appreciated.
thanks
--rk
I just downloaded the windows binary ver. 5.2.6 and extracted the
contents of zip file in c:\apache\php. I am planning to use it under
the Windows Script Host and as per the directions I also downloaded
the activescript dll and registered it based on the following
recommendation:
REGEDIT4
[HKEY_CLASSES_RO OT\.phs]
@="PHPScript"
[HKEY_CLASSES_RO OT\PHPScript]
@="PHPScript"
"EditFlags"=dwo rd:00000000
"AlwaysShowExt" =""
"BrowserFlags"= dword:00000008
[HKEY_CLASSES_RO OT\PHPScript\sh ell]
@="Run"
[HKEY_CLASSES_RO OT\PHPScript\sh ell\Run]
[HKEY_CLASSES_RO OT\PHPScript\sh ell\Run\command]
@="wscript.ex e //E:PHPScript \"%1\" \"%2\""
[HKEY_CLASSES_RO OT\PHPScript\sh ell\Run\ddeexec]
[HKEY_CLASSES_RO OT\PHPScript\sh ell\Run\ddeexec \Application]
@="wscript"
[HKEY_CLASSES_RO OT\PHPScript\sh ell\Run\ddeexec \Topic]
@="System"
But when I run this sample code
<job id="PERLandVBS" >
<script language="PHPSc ript">
$WScript->Echo("Hello from phpScript");
</script>
</job>
I get following error:
Line: 3
Char: 18
Error: The value for the attribute is not valid: language
Code: 80040049
Source: Windows Script Host
Any help is really appreciated.
thanks
--rk
Comment