Re: [PHP] CGI and HTTP Authentication

2002-01-04 Thread Brian Clark
* Gaylen Fraley ([EMAIL PROTECTED]) [Jan 05. 2002 01:36]: > But is there a PHP variable that holds the Server API? How about a function that returns a string? php_sapi_name() PHP 4.x -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB

Re: [PHP] CGI and HTTP Authentication

2002-01-04 Thread Gaylen Fraley
But is there a PHP variable that holds the Server API? -- Gaylen [EMAIL PROTECTED] Home http://www.gaylenandmargie.com/ PHP KISGB v3.02 Guest Book http://www.gaylenandmargie.com/phpwebsite/ "Brian Clark" <[EMAIL PROTECTED]> wrote in message 20020105061814.GL17616@ganymede">news:20020105061814.GL

Re: [PHP] CGI and HTTP Authentication

2002-01-04 Thread Brian Clark
* Gaylen Fraley ([EMAIL PROTECTED]) [Jan 05. 2002 00:27]: > Just for curiosity, can HTTP Authentication be disabled in any other way, if > PHP is installed as a module? In other words, is there any other reason why > the authentication might not work (under *nix), not IIS? If this is Apache, HT

Re: [PHP] CGI and HTTP Authentication

2002-01-04 Thread Brian Clark
* Gaylen Fraley ([EMAIL PROTECTED]) [Jan 05. 2002 00:22]: > Thanks :). I thought I had figured out a way to determine if it was a CGI > or module. But it didn't work. Is there a reliable way? Yes, stick into a .php file and load it into your browser. Beside "Server API" it'll either say Apac

Re: [PHP] CGI and HTTP Authentication

2002-01-04 Thread Gaylen Fraley
Just for curiosity, can HTTP Authentication be disabled in any other way, if PHP is installed as a module? In other words, is there any other reason why the authentication might not work (under *nix), not IIS? -- Gaylen [EMAIL PROTECTED] Home http://www.gaylenandmargie.com/ PHP KISGB v3.02 Guest

Re: [PHP] CGI and HTTP Authentication

2002-01-04 Thread Gaylen Fraley
Thanks :). I thought I had figured out a way to determine if it was a CGI or module. But it didn't work. Is there a reliable way? -- Gaylen [EMAIL PROTECTED] Home http://www.gaylenandmargie.com/ PHP KISGB v3.02 Guest Book http://www.gaylenandmargie.com/phpwebsite/ "Brian Clark" <[EMAIL PROTEC

Re: [PHP] CGI and HTTP Authentication

2002-01-04 Thread Brian Clark
* Gaylen Fraley ([EMAIL PROTECTED]) [Jan 04. 2002 21:26]: > Is there any work around for using HTTP Authentication and PHP installed as > CGI? I know how to make the detection, I'm hoping (probably in vain) that > there is some way to make the two work. Thanks. AFAIK, no, unless you use .htacc