Hi!
I wonder how to make a code or a script...
i have wonder how to do this without php i have the knowlage how to do it in PHP but not in HTML.
I want a easy script like this:
-An easy login page to look the encrypted things is side the doc/html. I mean when users click at the link the show a simpel login page where they must print a username and a pw. WHen they have enter it they will see the text inside it.
exampel code in php:
and then have a DB with 'user' and so on... hehe that was just a simpel explanation of it
And heres a code in html but it's still need php.
Maybe someone could figure this out
Cheers
/Fate
Sry 4 my bad english
I wonder how to make a code or a script...
i have wonder how to do this without php i have the knowlage how to do it in PHP but not in HTML.
I want a easy script like this:
-An easy login page to look the encrypted things is side the doc/html. I mean when users click at the link the show a simpel login page where they must print a username and a pw. WHen they have enter it they will see the text inside it.
exampel code in php:
| Code: |
| if ($CURUSER["can_upload"]=="yes")
print("<td class=header align=center><a href=upload.php>".MNU_UPLOAD."</a></td>\n"); if ($CURUSER["view_users"]=="yes") print("<td class=header align=center><a href=users.php>".MNU_MEMBERS."</a></td>\n"); if ($CURUSER["view_news"]=="yes") print("<td class=header align=center><a href=viewnews.php>".MNU_NEWS."</a></td>\n"); if ($CURUSER["view_forum"]=="yes") |
and then have a DB with 'user' and so on... hehe that was just a simpel explanation of it
And heres a code in html but it's still need php.
| Code: |
| <html>
<? if (isset($error)) echo $error; ?> <form action="login.php"> Kod: <input type="text" name="kod"><br> <br> <input type="submit" name="submit" value="Login"> </form> </html> |
Maybe someone could figure this out
Cheers
/Fate
Sry 4 my bad english
