Warrior Forum - The #1 Digital Marketing Forum & Marketplace

Warrior Forum - The #1 Digital Marketing Forum & Marketplace (https://www.warriorforum.com/)
-   Programming (https://www.warriorforum.com/programming/)
-   -   rotecting pages/folder with php (https://www.warriorforum.com/programming/441982-rotecting-pages-folder-php.html)

regarsfo 30th August 2011 02:31 AM

rotecting pages/folder with php
 
hey guys, i need your help please...

I am in the process of finishing a site and I need to password protect one page that has some downloads on it. I only need one login and password, that can be changed easily.

What is the best way to do this?

Should I put them all into one folder and protect the folder?

I would think this might make more sence so people couldn't find the downloads any other way.

Is there anything I'm missing that I should add to a dcript like this? Like loging out option, etc...

Any help you can offer me would be greatly appreciated.


thanks in advance

johnnyN 30th August 2011 07:06 AM

Re: rotecting pages/folder with php
 
yes protect the folder, and put all the downloads as well as the html page in that folder.

use your cpanel to protect a folder, google "password protect directories with cpanel"


All times are GMT -6. The time now is 10:44 PM.