Hi,
i have a small admin part for my web site and i would like to protect pages within my admin folder.
Since i cannot set folder permissions i want to do it with php.
right now i have one login page with username&pass fields which i pass to another which checks if they are correct and if they are, it displays menu.
BUT, if somenone would type the url of any other page in that folder he could see it.
So, the question is: what are the simplest way for authorization, with or without databe usage which would make impossible for somene to just type the url and seee the page?
Thanks.