you didn't set the $message
for example here that you mentioned:
div class=messageYou have successfuly been logged in. You can now access
the advanced area.br /
change it to $message=You have successfuly been logged in. You can now
access the advanced area;
hope it will help.
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
Subject: [PHP] Members area Login
, 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 redirection in your script! It just displays the link to the
corresponding next homepage based on the user level. To really redirect, you
should user header
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
Subject: [PHP] Members area
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@lists.php.net
Subject: Re: [PHP] Members area Login with permissions!
Hi
,
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_start() in config.php
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@lists.php.net
Subject: Re: [PHP] Members area Login with permissions!
Hi,
thank you
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: php-general@lists.php.net
Subject: Re: [PHP] Members area Login
]
Sent: Sunday, July 24, 2011 3:23 PM
To: Dajka Tamas
Cc: php-general@lists.php.net
Subject: Re: [PHP] Members area Login with permissions!
Thanks a lot :)
This solved the user level issue, I can now login with different user levels
and get displayed with a link to the corresponding index-pages
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
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,
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
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
13 matches
Mail list logo