Results 1 to 1 of 1
Jul 27, 2008, 13:05 #1
- Join Date
- Mar 2004
- Kenneth City, FL
- 0 Post(s)
- 0 Thread(s)
Confused about $_SERVER["PHP_AUTH_USER"]
I think it will be easier if I just show you the diff comparison for my last edit of the file in question.
Basicly what I'm doing is wrapping xcache functions so the username/password for xcaches admin functions can be hardcoded into the xcache module and doesn't conflict with the phpBB3 Apache auth module if it's being used.
Or so I thought.
I'm not so sure I need to do this now though. I'm wondering if I can just overwrite the PHP_AUTH_USER and PHP_AUTH_PW variables at the beginning of the request and the browser will automaticly reset them on the next page request.
Should I reset those two variables like I've done in revision-11 of that diff file, or should I just overwrite them in the beginning of the program flow and rely on the browser to resend the ones for the forum auth ?