r ).
>
> Don’t forget to store the users’ access level in the session, or this will
> not work!
>
> Cheers,
>
> Tamas
>
> From: alekto [mailto:alekto.antarct...@gmail.com]
> Sent: Sunday, July 24, 2011 3:23 PM
> To: Dajka Tamas
> Cc: p
s will redirect an unlogged user to the login form ( if logged in, but
has no access rights, your login page will log out the user ).
Don't forget to store the users' access level in the session, or this will
not work!
Cheers,
Tamas
From: alekto [mailto:alekto.antarct
by adding a var_dump($usr_level); after setting
> $usr_level ).
>
> The fix: just change it to:
>
>$usr_level = $dn[’usr_level’];
>
> Cheers,
>
>Tamas
>
>
>
> From: alekto [mailto:alekto.antarct...@gmail.c
both, giving easier
debugging,
Tamas
From: alekto [mailto:alekto.antarct...@gmail.com]
Sent: Sunday, July 24, 2011 1:00 PM
To: Dajka Tamas
Cc: php-general@lists.php.net
Subject: Re: [PHP] Members area Login with permissions!
Hi,
thank you for answering! I do have a session_s
usr_level); after setting
$usr_level ).
The fix: just change it to:
$usr_level = $dn['usr_level'];
Cheers,
Tamas
From: alekto [mailto:alekto.antarct...@gmail.com]
Sent: Sunday, July 24, 2011 1:00 PM
To: Dajka Tamas
Cc: php-general@l
l headers can't be set, so either use output
> buffer in php.ini, or ob_start somewhere. And hope you do session_start() in
> config.php ;)
>
> Cheers,
>
> Tamas
>
> -Original Message-
> From: alekto [mailto:alekto.antarct...@gmail.com]
> Sent
an helo you further :)
Cheers,
Tamas
-Original Message-
From: Dajka Tamas [mailto:vi...@vipernet.hu]
Sent: Sunday, July 24, 2011 11:53 AM
To: 'alekto'; php-general@lists.php.net
Subject: RE: [PHP] Members area Login with permissions!
Hi,
I don't see any redirect
n't be set, so either use output
buffer in php.ini, or ob_start somewhere. And hope you do session_start() in
config.php ;)
Cheers,
Tamas
-Original Message-
From: alekto [mailto:alekto.antarct...@gmail.com]
Sent: Sunday, July 24, 2011 1:28 AM
To: php-general@lists.php.net
Sub
you didn't set the $message
for example here that you mentioned:
You have successfuly been logged in. You can now access
the advanced area.
change it to $message="You have successfuly been logged in. You can now
access the advanced area";
hope it will help.
Hi,
I need some help with my html/php, restricted access script.
The purpose with this script is to let users login to a members area; some with
admin permission, some with newbe permission and some with advanced
permissions. The permissions are pre-defined in the MySQL-DB with a
use_level-fiel
Brandon,
The tutorials are there - look for them. They collectively describe all
that you want to do vis-a-vis database manipulation.
Miles
At 06:58 PM 2/27/01 -0800, you wrote:
>Yea i cant find a good Tut, ok...
>i have a members directory with the inside that folder is status, goodies,
>ect
Brandon,
It's a little confusing.
Are you saying:
1. You have the members area - a directory, what?
2. You have created a database containing your members information.
and now you:
3. Want to know how to connect to the database?
4. Add information to the database about the member
Hi, eveyone, my name is brandon, and i made a members area for my site,
a database driven http authentication and a database for all my members
i got everything working but how do i make a database connection that
recieve the infomation for that user that has loggin into the members
area.
If i was
13 matches
Mail list logo