Sunseth Posted January 27, 2008 Report Share Posted January 27, 2008 am facut un site in php pentru un server de mu ,nu inteleg de ce dupa ce umplu toate casutele imi spune ca verify code nu este bun desi in scriptul php e $rand = rand(1234, 1234); :!: :!: stie cineva rezolvarea? Quote Link to comment Share on other sites More sharing options...
moubik Posted January 27, 2008 Report Share Posted January 27, 2008 da mai multe detalii. eu nu am inteles nimic. Quote Link to comment Share on other sites More sharing options...
Sunseth Posted January 27, 2008 Author Report Share Posted January 27, 2008 deci am facut un site cu functie register si tu scrii acount parola numar de verificare tara in care te afli si un cod de verificare iar codul ala e random iar eu lam setat sa iti dea doar o singura valoare 1234 si daca introduc 1234 imi spune ca nu e codul corect acum ai inteles? (daca nu ai inteles mai fac un post si apoi iti postez un link )PS : in primul post m-am exprimat cam aiurea de aia nu ai inteles sper ca postul asta sa fie mai explicit Quote Link to comment Share on other sites More sharing options...
moubik Posted January 27, 2008 Report Share Posted January 27, 2008 verifica daca intradevar se alege acel numar.e o chestie de detaliu pe care o gresesti, nu e de tehnica de programare.fa-ti debugging la program. da echo la toate variabilele pe care le folosesti. verifica daca intradevar ele au valorile asteptate. Quote Link to comment Share on other sites More sharing options...
Sunseth Posted January 27, 2008 Author Report Share Posted January 27, 2008 am gasit rezolvarea multumesc pentru sfat moubik insa acum am observat alta problema nu merge loginul bag user si pass dau log in dar nimic Quote Link to comment Share on other sites More sharing options...
ÐÒ& Posted January 31, 2008 Report Share Posted January 31, 2008 pai arata codul..poate nu se contecteaza la baza de date sau nu preia datele din foirmul respectiv ... sau faci verificare proasta Quote Link to comment Share on other sites More sharing options...