[PHP-WIN] [Help] Setting the value of COM object's Attribute property

2004-04-26 Thread Steven Kidd
Hi, Any one who has experiences in setting the value of COM object's Attribute property please help... The COM runs well in ASP: <%asp 'The Attribute property specifies and retrieves name-value pairs. ' 'Syntax: ' 'Header.Attribute(bstrName) = String 'String = Header.Attribute(bstrName) ' 'Par

[PHP-WIN] Re: Re: The COM problem when converting from ASP to PHP[works now!!]

2004-04-24 Thread Steven Kidd
Thx Dvdmandt, I have enable it and use var pass by reference but it still doesn't work. However, when I switch to the PHP5 RC1, it works!~~ I use the recommonded php.ini setting( means the "pass by reference" is DISABLED ). my previous version is 4.3.6. I really love PHP 5! :) Strongly suggest a

[PHP-WIN] The COM problem when converting from ASP to PHP

2004-04-23 Thread Steven Kidd
Hi, <> When I converting lines of ASP code: <% dim keysobjs dim privkey dim pubkey dim seed Set keysobj= CreateObject("wmrmobjs.WMRMKeys") keysobj.GenerateSigningKeys privkey, pubkey seed = keysobj.GenerateSeed() Response.Write privkey Response.Write "" Response.Write pubkey Response.Write "" Re