Thanks to Zubra for the password protect script.
Im on the verge of getting password protect working on my website, except for the fact that it comes up with the following message:
Warning: Cannot modify header information - headers already sent by (output started at /home/ahdiorg/public_html/members_area.php:1) in /home/ahdiorg/public_html/pass_protect/ahdi_password_protect.php on line 138
even though i have put the code at the top of the page.
Also, how do you count the line numbers? is it from top of page where <?php is, or from "do not change code below"?
Any suggestions would be much appreciated.
Thanks in advance