Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Password Protect Directory Using PHP

@kevinjohngallagher

Member

OFC!

Thats daft of me.

if (! bb_is_user_logged_in() && basename($_SERVER['PHP_SELF'] != "bb-login.php")
{
header( 'Location: bb-login.php' );
}

Pagal, please mate, i beg of you.

Google for 5 minutes before posting these requests and telling everyone they don’t understand what you want, and never saying please or thank you.

We want to help bro, help us by using Google first :)

Skip to toolbar