Hi Jeff,
It's not uncommon for the thread to go "dead" on you if you post a lot in one thread. It's something to do with this forum software, and no-one knows how to turn it on or off. If you access the URL from another browser (where you're not logged in) you can usually see the post. If this happens the best approach is to start a new thread. I know, I know....
Anyway, in the last message you said;
Bruce,
>> I looked in netweb.clw and found code that sets the Server_Name variable, however, it is commented out.
I'm not sure what code you are looking at, but all the PHP code is in a conditional compile (not commented out.)
Specifically the two lines with the fixed Exe name are in the _SendPhpFile method, circa line 7904.
if not exists(clip(self.site.PhpPath) & '\php-cgi.exe')
self.AddLog('Failed to find php exe using "' & clip(self.site.PhpPath) & '\php-cgi.exe".')
elsif not jobControl.CreateProcess('"' & clip(self.site.PhpPath) & '\php-cgi.exe" "'&clip(self.site.WebFolderPath)&'\' & Clip(self.PageName) & '"', jo:SW_HIDE, false, , , , , strData)
>> Similarly, there is other code dealing with redirect that is commented out.
I'm not sure what redirect has to do with anything. (NetTalk is not doing a redirect. It passes the request through to the php exe, and receives the result back for futher processing.)
>> I commented out this code and recompiled. This did not seem to help. Perhaps I should use php.exe or php-win.exe instead of php-cgi? Any other thoughts?
I know quite literally nothing about PHP, so I think you may need to draw on your PHP skills if you want to go down this road.
cheers
Bruce