People seem to have only just noticed this thing, but it's been around for ages (2 years!). Yeah, it's probably broken in PHP 5 in a bunch of places. It's experimental, YMMV. Yes, I care if it doesn't work for you; maybe not enough to use up my spare time (not that I actually have any) debugging windows problems, but everyone understands that you get what you pay for, right?
Our brief conversation took place the day before his somewhat "unfriendly" posts. I received 2 emails, not 6.
Andrew:
OpenSource is about contributing, so why not contribute something useful to the rest of the world instead of angry vibes and misrepresenting the people that have already donated so much of their time?
If you want to help yourself, take a look at the CVS and compare PHP 4 with PHP 5. It sounds like there is a buglet in the registry entries; it did work under PHP 4 with WSH, so why not start by comparing those parts?
PS: threaded PHP is a bad idea waiting to crash. That's one of the reasons why we strongly recommend that you don't use threaded SAPI under windows (and even under unix if you can avoid it).
Wez,
While I can appreciate the caveats of providing free software (as thats what Kapsules is) I dont understand in the slightest why you took offense to anything which was posted.
I simply stated the facts. It doesnt function properly. Perhaps the word 'fault' was what threw you off, but nothing was intended negatively. Additionally, theres absolutely nothing wrong with instructing users and PHP enthusiasts to email you requesting the fix. A request is just that, something which one would like to see done, but doesnt nessesarily mean it will be so. And if you count the number of times that I had emailed you since last January, including all email addresses which you happen to have, they do total 6.
RE: Contributing. Its not good practice to make false claims against someone's character either. I had contributed to the geoShell (http://geoshell.com) project for nearly 4 years before stepping down. Shame on you.
RE: It working with PHP4 and the Windows Script Control. It didnt. Never did. The web is littered with forum posts from frustrated programmers trying to get it to work.
I also appreciate (really, i do!) the follow up reccomending that I not implement this do to the threading issue.
That being said, I think your post is a little off base, as I made every attempt to be polite and respectful of both the man and the coding. Again, I apologize that you took any offense, but you must realize that my attempts at contacting you were nothing more than a frustrated developer seeking what he was doing wrong, against a claim which accompanied what you had written - that, in fact, it was supposed to work.
Take Care, Andrew Powell
I made no claims beyond YMMV (http://www.faqs.org/docs/jargon/Y/YMMV.html) (read the email I sent to you again).
Making assertions about what I did or did not do is pretty dumb: you weren't here. I spent many hours developing ActivePHP using WSH and IE as hosts. Obviously it did work for me, or I wouldn't have said otherwise.
I could answer your other points regarding character defamation and the quantity of email that I received, but they're pretty irrelevant.
Hi, Wez!
I tried the ActivePHP5 and it works good as stand alone for me. But the WS Components cannot be created, probably because PHP's functions and variables are not registered in the WSH.
Look on example: PhpWrapper.wsc <?xml version="1.0"?> <package> <?component error="true" debug="true"?> <comment> Wrapper for PHP routines </comment> <component id="PhpWrapper"> <registration progid="Runner.PhpWrapper" description="Wrapper for PHP routines" version="0.1" clsid="{11B19AF5-0B79-4cbb-87FB-097B1509D75F"/> <public> <property name="PhpVersion"> <get internalName="get_PhpVersion"/> </property>
<!-- method name="SendRequest"/ --> </public>
<script language="ActivePHP5">
<![CDATA[
function get_PhpVersion() {
return "5.0.0";
}
]]>
</script>
</component>
</package>
2.wsf <job id="php_test"> <script language="JavaScript"> var pv = WScript.CreateObject("Runner.PhpWrapper"); WScript.echo(pv.PhpVersion); </script> </job>
This script throws an error: "The property accessor is not defined".
It very limits the potential of ActivePHP5, because it cannot be inserted into the exitent JScript/VBScript applications.
Also one more example: <job id="php_test"> <script language="JavaScript"> var test1_var = "test1_var"; function test1_func() { return "test1_func"; } </script> <script language="VBScript"> WScript.echo test1_var ' prints test1_var WScript.echo test1_func() ' prints test1_func </script> <script language="ActivePHP5"> $WScript->echo($test1_var); // prints null $WScript->echo(test1_func()); // prints "Call to undefined function test1_func" </script> </job>
I hope that solving this may be interested to you.
Thanks, Alex
