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
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
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
N['message'] = "Please log in";
> //we redirect the user to the login page
> header('Location: index.php');
> }
>
> This will redirect an unlogged user to the login form ( if logged in, but has
> no access rights, your login page will log out the use
Hi,
is there a way to create a tree menu list only by using php/html/css?
I found some, but they are all in JavaScript, do I have to make them by using
JavaScript or is there a way in php as well?
This is how I imagine the tree menu should look like:
v First level
> Second level
> Second
; browsers don't support those new tech stuff , (most browsers do but user are
> not up to date with freshest ones)
>
> If there is a real reason not to use JS, can you make more specific example
> so we can help.
>
> Bojan Tesanovic
> Senior PHP Developer
> http://ooph
Hi,
I have implemented a "remember" me feature in my login-script, but I can't get
it to function!
I want to make it possible for the users to stay logged in for 30 days.
This is what I got this far:
This checkbox is placed Inside the index.php script, near by the
username/password field.
Rem
Hi guys!
I have now tried to take some of your hints into consideration, by
encrypting the password with md5 adding a salt.
As some of you pointed out, this code is the work of a newbie, that is
totally correct, so please bear with me ;)
I have tried to implement a cookie to remember the login fo
Thank you for all the helpful input so far!
I have now tried to implement the changes you suggested, but I unfortunately
keep getting an error in line 114, in {-bracket in the switch statement. I
know it is not very desirable to send all the code in a mail, but I think
this is the best solution to
9 matches
Mail list logo