Forum Moderators: coopster

Message Too Old, No Replies

PHP Windows Script Host Error

         

erikcw

4:07 pm on Nov 14, 2005 (gmt 0)

10+ Year Member



Hi All,

I intstalled easyPHP on my windows box. Since it doesn't have "php4activescript.dll" by default (as far as I know), I downloaded the latest stable version of php4 and replaced the php files from easy php.

I registered php4activescript.dll with Windows.

When I run the following test script, I get this error


There is no script file specified


<job id="test">

<script language="PHPScript">
$WScript->Echo("Hello World!");
</script>

</job>

Can anyone tell me what I am doing wrong?

Thanks!

Erik

Timotheos

12:28 am on Nov 15, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



There's these links in the manual
[ca.php.net...]
[ca.php.net...]

Which say (among other things).

Note: In PHP 4, you should move all files located in the dll and sapi folders to the main folder (e.g. C:\php).

Note: In PHP 4, the engine was named 'ActivePHP', so if you are using PHP 4, you should replace 'PHPScript' with 'ActivePHP' in the above example.

So you peeked my interest. How are you using this?

erikcw

1:26 am on Nov 15, 2005 (gmt 0)

10+ Year Member



I've tried those suggestions, still the same result. :-(

Any other possibilities?

I have a piece of software that has a scripting interface to automate tasks through Windows Scripting Host. Since I already know php, I figured I would save the work of learning VBS...

Thanks for your help!

Erik

Timotheos

3:57 am on Nov 15, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I have a piece of software that has a scripting interface to automate tasks through Windows Scripting Host. Since I already know php, I figured I would save the work of learning VBS...

Ahh, that's cool. Sorry that didn't work out.

Uh, the test file is test.wsf, right?