Can you help me make a log frame as www.yahoo.com or forums ?
Generally above the forum will have two text field (account, password) and a Login button.After entering your account information, click Login, the text field, button Login disappeared.Instead will appear as follows: username Logout.I will use can include
Problem Login
Moderator: General Moderators
Re: Problem Login
Have you looked into using cookies to log someone in for a certain amount of time? How familiar are you with HTML / PHP? what do you know/have already?
Re: Problem Login
Yes, I know how to use the session to sign someone.And I have made login page.You can see the top of this forum:FAQ Members Login .After your successful login it will be: FAQ Members Logout [Huynh]
I will present frame:FAQ Members Logout [Huynh] using include.
If members have signed the VIP level,I will add some services to VIP members.
If someone is logged in admin level,vertical list on the left will be adding links as:editing of product information,member information.
I will present frame:FAQ Members Logout [Huynh] using include.
If members have signed the VIP level,I will add some services to VIP members.
If someone is logged in admin level,vertical list on the left will be adding links as:editing of product information,member information.
Re: Problem Login
If you are using a database, pull in the level of privaliges that the user has, and then wrap an if statment around the HTML you want to display:
Am I on the right line for what your trying to achieve?
Code: Select all
<?php
if($row_user['admin']){
?>
[YOUR HTML FOR ADMIN USER]
<?php
}
?>
Re: Problem Login
Issues show, hide, I can use the expanded list of Giatuan.So use include, iframe.I need to change the code for the login, logout?
I sometimes get errors when using session for login.I checked all the correct syntax
I sometimes get errors when using session for login.I checked all the correct syntax