Welcome to WebmasterWorld Guest from 54.227.48.147

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

PHP Windows Script Host Error

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

Full Member

10+ Year Member

joined:Nov 19, 2003
posts:291
votes: 0


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

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

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Feb 13, 2003
posts:775
votes: 0


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?

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

Full Member

10+ Year Member

joined:Nov 19, 2003
posts:291
votes: 0


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

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

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Feb 13, 2003
posts:775
votes: 0


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?