Closed Thread Icon

Topic awaiting preservation: $PHP_AUTH & IIS ? (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=12143" title="Pages that link to Topic awaiting preservation: $PHP_AUTH &amp;amp; IIS ? (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: $PHP_AUTH &amp; IIS ? <span class="small">(Page 1 of 1)</span>\

 
air_phear
Nervous Wreck (II) Inmate

From: sweden
Insane since: Jul 2001

posted posted 03-27-2002 12:07

Hi !

Im trying to make an Authorizing function for my site...

But it seems the $PHP_AUTH functions dont work on IIS, using the php.exe version..

is there a way to make it work ? =)
or should I consider other ways ?



mobrul
Bipolar (III) Inmate

From:
Insane since: Aug 2000

posted posted 03-27-2002 14:24

It should work with IIS...but remeber, PHP authorization only works if it is running as a module on your server...not CGI.

mobrul

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 03-27-2002 19:18

As Mobrul said in order for PHP HTTP authentication to work, you must run PHP as server module, and in your case, you're running PHP as CGI (all calls go through php.exe). You should install PHP as ISAPI IIS server module...


« BackwardsOnwards »

Show Forum Drop Down Menu