Re: [PHP] Members area Login with permissions!

2011-07-24 Thread Negin Nickparsa
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.

RE: [PHP] Members area Login with permissions!

2011-07-24 Thread Dajka Tamas
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

RE: [PHP] Members area Login with permissions!

2011-07-24 Thread Dajka Tamas
, 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

Re: [PHP] Members area Login with permissions!

2011-07-24 Thread alekto
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

RE: [PHP] Members area Login with permissions!

2011-07-24 Thread Dajka Tamas
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

RE: [PHP] Members area Login with permissions!

2011-07-24 Thread Dajka Tamas
, 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

Re: [PHP] Members area Login with permissions!

2011-07-24 Thread alekto
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

RE: [PHP] Members area Login with permissions!

2011-07-24 Thread Dajka Tamas
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

Re: [PHP] Members area Login with permissions!

2011-07-24 Thread alekto
] 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

[PHP] Members area Login with permissions!

2011-07-23 Thread alekto
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

Re: [PHP] Members area

2001-02-28 Thread Miles Thompson
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,

[PHP] Members area

2001-02-27 Thread Brandon Feldhahn
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

Re: [PHP] Members area

2001-02-27 Thread Miles Thompson
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