Mitrofan
Fri 9th Feb '01, 11:35pm
I am new to PHP. What I want to do is to make certain files or directories for members-only.
In the past I was able to do it with mod_auth_mysql and just authenticated users against the user database in mySQL. Pretty simple. Now I got this new server and it looks like mod_auth_mysql does not install on Apache 1.3.14 (my old one was 1.3.12) The Verio support staff spent over an hour trying to get it working and they could not so far. It's unfortunate that such a great and useful Apache module as mod_auth_mysql has been abandoned by developers and the download site had disappeared awhile ago.
THe good news is that now I got PHP installed on it. I am looking for a way to make a members-only directory with PHP. Well, since VB can require users to login before they can even read the threads, I think there must be an easy way to do exactly the same for other directories of my site as long as they coded in PHP.
How is it done? With session tracking? Cookies?
Of cause I want users to register just once - for the site and VB and share the same login. This should not be a problem.
Please share any ideas on it. I'll pass them along to my programmer, who is also new to PHP, but he's very good with PERL and mySQL, so he'll learn fast.
Thank you for any advice.
In the past I was able to do it with mod_auth_mysql and just authenticated users against the user database in mySQL. Pretty simple. Now I got this new server and it looks like mod_auth_mysql does not install on Apache 1.3.14 (my old one was 1.3.12) The Verio support staff spent over an hour trying to get it working and they could not so far. It's unfortunate that such a great and useful Apache module as mod_auth_mysql has been abandoned by developers and the download site had disappeared awhile ago.
THe good news is that now I got PHP installed on it. I am looking for a way to make a members-only directory with PHP. Well, since VB can require users to login before they can even read the threads, I think there must be an easy way to do exactly the same for other directories of my site as long as they coded in PHP.
How is it done? With session tracking? Cookies?
Of cause I want users to register just once - for the site and VB and share the same login. This should not be a problem.
Please share any ideas on it. I'll pass them along to my programmer, who is also new to PHP, but he's very good with PERL and mySQL, so he'll learn fast.
Thank you for any advice.