Post subject: Change from php 3 to php 5 on server -> problems
Posted: Thu Aug 14, 2008 3:42 pm
Rookie (I'm probably spamming)
Joined: Thu Aug 14, 2008 3:27 pm Posts: 1 Points:0
Hello, my server has upgraded from php version 3 to version 5. Since then the script Password protection with php no more work. I have changed variable $PHP_AUTH_USER to $_SERVER['PHP_AUTH_USER'] but the problem remain. It seem that the script no more receive the correct login data. Someone have encoutered this same problem? Thanks a lot
Post subject: Re: Change from php 3 to php 5 on server -> problems
Posted: Thu Aug 14, 2008 6:38 pm
XavierForum.com Admin
Super VIP Member
Joined: Tue Mar 15, 2005 4:37 pm Posts: 1082 Location: Sweden Points:1500
I haven't tested that script in years so I'm not sure what's wrong. I recommend you to switch to Cookie Password Protection instead since that script has been tested on PHP5: http://www.xaviermedia.com/php/cookieprotection.phtml
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum