View Single Post
Old 06-09-2003, 01:35 AM  
SpaceAce
Confirmed User
 
Join Date: Jul 2002
Location: Magrathea
Posts: 6,493
Quote:
Originally posted by fiveyes

Try the basic script that's given on the link I gave above (Ex. 16-1) and see if that works as it's supposed to. Sometimes narrowing a program down to just the problem area will reveal what's going wrong.
I had already narrowed it down to failure in setting the PHP_AUTH variables and the test script backs that up. For some reason, the AUTH variables are not being set. The code in the sample script is basically identical to the A-Conman code.

From what I understand, the AUTH variables won't be set if you have already logged in using basic HTTP authorization, which I have not. There is no password protection in that folder. Just to be safe, I tried to display the REMOTE_USER variable and got null. I don't know what's up.

SpaceAce
SpaceAce is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote