FoggyLog

Thu Mar 6th 2008 15:25:35: PHP4 upgrade to PHP5 breaks PHP_AUTH_USER / PHP_AUTH_PW

Since Purplecloud kicked me off for getting too much spam, I've been using Streamline.net for my hosting. Recently they upgraded from PHP4 to PHP5 and suddenly the HTTP Authorisation for one of my sites stopped working. The authorisation is handled by PHP which is quite useful (as using a .htaccess password seems to upset Streamline's server for some unknown reason).

In the end I found a nice complicated solution here. Why it works I've not really thought about, however it does work and I'm glad I don't have to think any further!

Add New Comment

Name:
Email:
(Never displayed publically)
Comment:
HTML Tags allowed - <b>bold</b>, <i>italic</i> and <a href="http://...">Links</a>
Type "NoSpam" in Here:

 

<< Back