Hi my root web folder on server is C:\www inside i have my php scripts and a folder called phpmyadmin where my scripts to check databases are etc... How can i mak it so users cant go into that folder? I tried using .htaccess but i could not get it working , i folowed this tutorial off a site but id be able to acces the folder if i type in : http://localhost/phpmyadmin but if i type in : http://localhost/phpmyadmin/ i would not be able to, the htacces password pops up but the username and password i set would not work. Anyone have a diff method of securing folder or a good tutorial?
assuming that you are using the Apache webserver, htaccess is the way to go. here is a tutorial.
just to clarify what devinemke said: the problem you're having has nothing to do with PHP, it's an Apache issue (but you're on the right track; htaccess sounds like it will do exactly what you want)... check out that tutorial.
best E