Re: [PHP] ISAPI vs CGI

2004-06-23 Thread Gerard Samuel
On Wednesday 23 June 2004 05:08 am, Jason Wong wrote: > On Wednesday 23 June 2004 16:42, Vincent DUPONT wrote: > > I have a script that need to run on ISAPI module on one server and on CGI > > on anther server. I would like my code to be able to react differently > > depending on the CGI/ISAPI mode

Re: [PHP] ISAPI vs CGI

2004-06-23 Thread Jason Wong
On Wednesday 23 June 2004 16:42, Vincent DUPONT wrote: > I have a script that need to run on ISAPI module on one server and on CGI > on anther server. I would like my code to be able to react differently > depending on the CGI/ISAPI mode. > > How can I detect the running mode of PHP?? > is there a

[PHP] ISAPI vs CGI

2004-06-23 Thread Vincent DUPONT
Hi, I have a script that need to run on ISAPI module on one server and on CGI on anther server. I would like my code to be able to react differently depending on the CGI/ISAPI mode. How can I detect the running mode of PHP?? is there a $_SERVER variable or anything?? vincent -- PHP General M