PHP as ISAPI does not properly pass variables (wodWebServer / wodWebServer.NET)
I have been working on this one for weeks, but I have gotten it down to some anomally of the implementation of the PHP as ISAPI within wodWeb.
Browser sends (example):
/dir.php?contentfolder=content&sort=nd
Server, within IwodWebNotify_RequestDone:
User.Response.ISAPIExecute 0, User.Request.URI, User.ResolveURI(User.Request.URI)
Even if I change the second parameter to include the script AND variables that are being passed it does not work.
I have flipped the configuration around everywhich way possible. My final test to prove that it is something within wodWeb was to run php.exe against my PHP script, pass the variables, and capture the output to a file. I then put within IwodWebNotify_RequestDone a bit of code:
If RequestedPage = /dir.php?contentfolder=content&sort=nd
Then User.Response.Filename = c:webFileIManuallyCreated.txt
... and that worked!
So my conclusion is that the variables are not properly being passed by wodWeb to PHP ISAPI.
I recently updated to the latest wodWeb (when I noticed some CGI variable issues has been resolved), but that did not fix it either. I am guessing the ISAPI method is suffering from the same variable loss that the CGI method had.
Using wodWebD.dll ver 1.1.6.231 and PHP 4.4 latest.
Re: PHP as ISAPI does not properly pass variables
Dave,
I have sent you updated version for test, I think I was able to duplicate your problem.
Please try it out and tell me how it goes. If all is ok, offical update will be in few days.
Regards,
Kreso
Re: PHP as ISAPI does not properly pass variables
The updated version appears to ahve corrected the problem. I will continue to test it and let you know if there are any additional issues. Great job on the quick response!
Now the OCX doesn't work with 1.1.7
The DLL is working in the new version (1.1.7), however, the OCX doesn't. Same problem, not passing variables to PHP via ISAPI setting.
Re: PHP as ISAPI does not properly pass variables
Dave,
are you sure about that? Do they have same version number? I just tried, it works for me correctly.