eFlash Posted March 30, 2005 Report Share Posted March 30, 2005 kā var izdarīt lai neievadot vai ievadot nekorektu loginu vai paroli pēc pogas "Apstināt" nospiešanas, atveras tā pati ievades lapa un apakšā parādās rindiņa "nepareizs login vai parole"? Link to comment Share on other sites More sharing options...
hmnc Posted March 30, 2005 Report Share Posted March 30, 2005 (edited) if isset login&pass if login & pass = correct : set loggedin->1 else : show login form + error text else : show login form upd: neizlasīju līdz galam. skatīt vēlreiz :) Edited March 30, 2005 by hmnc Link to comment Share on other sites More sharing options...
v3rb0 Posted March 30, 2005 Report Share Posted March 30, 2005 nu bet pats tak pateici kā jadara.. if (nav parole || nav username || vai nesanaca ielogoties) { paradam formu un rindinju "logins nepareizs" } else { esam ielogojusies } Link to comment Share on other sites More sharing options...
Recommended Posts