gangstadog Posted July 31, 2009 Report Share Posted July 31, 2009 (edited) Sveiki varbut kadam ir html scripts ar kuru varetu kadai savai lapai ulikt paroli jeb ari kad uzspiez uz pogas download uzprasitu paroli? Mna ir šāds bet tas tikai iet uz firefox bet es gribu lai vins ietu uz visiem uz operas man neprasa <script language="JavaScript">if (top.location.search=="") { pass = prompt('Ievadiet paroli'); if (pass=='ORG21382')//ar šādu pasw varēs tikai iejiet { alert('Parole pareiza') } else { alert('Nepareiza parole! Mēģiniet atkal!'), top.location.href="/index/0-18"}}; </script> Edited July 31, 2009 by gangstadog Quote Link to comment Share on other sites More sharing options...
v3rb0 Posted July 31, 2009 Report Share Posted July 31, 2009 paroli servera pusē turi un pārbaudi. javascriptā ierakstītai parolei nav jēga. šitais neiet, jo trūkst semikoli un 1 komats pa daudz. Quote Link to comment Share on other sites More sharing options...
gangstadog Posted July 31, 2009 Author Report Share Posted July 31, 2009 paroli servera pusē turi un pārbaudi. javascriptā ierakstītai parolei nav jēga. šitais neiet, jo trūkst semikoli un 1 komats pa daudz. amm a varbūtās kādam ir kods html tā lai viņš ietu uz visiem brouzeriem? Un tikai ar vienu pasw varētu iejiet manis izvēlēto? Quote Link to comment Share on other sites More sharing options...
mefisto Posted July 31, 2009 Report Share Posted July 31, 2009 Varbūt tev vienkārši nepielec. HTML var apskatīties jebkurš. Tātad arī tavu paroli var redzēt ikviens ... kas padara paroli bezjēdzīgu. Quote Link to comment Share on other sites More sharing options...
rATRIJS Posted July 31, 2009 Report Share Posted July 31, 2009 (edited) BTW, HTML`ā skriptus neraksta. Edited July 31, 2009 by rATRIJS Quote Link to comment Share on other sites More sharing options...
gangstadog Posted July 31, 2009 Author Report Share Posted July 31, 2009 BTW, HTML`ā skriptus neraksta. labi,.labi sapratu a varbūtās kautkur var dabūt citu scriptu kurš ir droš? Quote Link to comment Share on other sites More sharing options...
mefisto Posted July 31, 2009 Report Share Posted July 31, 2009 Es nevēlos tevi šokēt, bet vai tu esi mēģinājis PHP ? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.