PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
i dont know if i'm posting this in the right place,
but i'm searching for a simple php script that can protect an entire dir so only members can enter it.
Members have to sign in using a form.
And the script should work without having to include something on all protected pages.
There doesn't need to be a signup page, but there should be some kind of admin page where i can add members manually...
Does anyone knows if there exists such a script and where i can find it? Thnx!
The manuall updating isn't a problem,
and i would prefer to use .htaccess...
But my 'client' wants for the members to login with a form, not with a pop-up like you get when you are tryin to enter a htaccess protected dir...
What's wrong with .htaccess? Writing a few pages (in case you can't find some ready made) that allow administrators to edit the file/ldap/mysql backend shouldn't take long...
btw, with a .htacess you can also set php_prepend and php_append... This way a login script could get included automagically too...
Last edited by timvw on Fri Jun 24, 2005 10:39 am, edited 1 time in total.
Why you dont want to include? State your problem, may be we can find another way to solve. In software business there is nothing impossible, just things that are needlessly to.