RuiAlmeida20 Posted February 9, 2014 at 12:04 PM Report #544520 Posted February 9, 2014 at 12:04 PM Boas, estou a criar um website e ainda vou no inicio e deparei-me com estes erros: "Notice: undefined index id" Linha: if($_SESSION['id'] && !isset($_COOKIE['Remember']) && !$_SESSION['rememberMe']) "Notice: undefined index submit" Linha: if($_POST['submit']=='Login') Cumprimentos.
HappyHippyHippo Posted February 9, 2014 at 12:09 PM Report #544522 Posted February 9, 2014 at 12:09 PM e qual é a dúvida ? tens poucos conhecimentos de inglês ? IRC : sim, é algo que ainda existe >> #p@p Portugol Plus
I-NOZex Posted February 9, 2014 at 12:20 PM Report #544524 Posted February 9, 2014 at 12:20 PM 1º, verifica que estás a iniciar e a finalizar as sessions como deve ser 2º, para evitar futuros erros como esses, primeiro, na condição, ve se a variavel está definida [isset()] B2R » Beat2Revolution v3.0b | Regista e divulga-nos beat2revolution.net
RuiAlmeida20 Posted February 9, 2014 at 03:01 PM Author Report #544536 Posted February 9, 2014 at 03:01 PM Se eu uso a condição isset() , o sistema não executa a função
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now