[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4752: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4754: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4755: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4756: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
 OpenForum.dk • Vis emne - nem java password

nem java password

Her kan du beskrive smarte løsninger og tips til andre.

Redaktør: Redaktionen

nem java password

Indlægaf mbaek » 2006-12-3 16:23

Her er et nemt java password der er let at instalere og ændre adgangs kode i.

<script language="JavaScript"><!--

function passWord() {
var testV = 1;
var pass1 = prompt('Tast 12345', 'Indtast Password!!');
while (testV < 70000000000000000000) {
if (!pass1) {
history.go(-1);

}
if (pass1 == "12345") {
break;
}
testV+=1;
var pass1 = prompt('Det virkede ikke!, Prøv igen!! - Tast 12345', 'Indtast Password!!',pass1);
}
if (testV ==70000000000000000000) {
history.go(-1);
alert('Du kunne ikke indtaste passwordet!');
}
return " ";
}
document.write(passWord());
// --></script>

Inden man kommer ind på siden, kommer der en boks hvor password skal indtastes, (her 12345 kan ændres)
Koden plaseres i admin/index.php hvorefter det bare er at ligge det ud og evt ændre tekst og kode, alt efter hvad man har lyst til.
Koder med mere vil kunne ses i kilde koderne til siden, men i og med at boksen kommer inden siden vises, kan man heller ikke se kildekoderne, hvorfor dette ikke skulde være noget problem.
hvis man ønsker ekstrem sikkerhed kan javaen naturligvis plaseres i header.php, men skal hils og sige at så skal man hver gang man skifter side indtaste på ny.

prøv evt at teste oprette en side hvor det testes.

mbaek
mbaek
Ekspert medlem
Ekspert medlem
 
Indlæg: 1024
Tilmeldt: 2006-10-4 18:45
Geografisk sted: Tilst

Indlægaf ThiaZ » 2007-12-18 21:41

nice ja =)

passwordet virker...
men det gør sitet ikk bagefter..

når den sender en videre efter korrekt password, skriver den det hele i tekst ;)

Billede
ThiaZ
Godt igang
Godt igang
 
Indlæg: 57
Tilmeldt: 2007-03-24 19:53

Indlægaf mbaek » 2007-12-18 22:23

humm meget mystisk. har selv brugt det uden problemmer. tyder på der er andet der spiller ind.
hvad OSC køre du med?
mbaek
Ekspert medlem
Ekspert medlem
 
Indlæg: 1024
Tilmeldt: 2006-10-4 18:45
Geografisk sted: Tilst

Indlægaf ThiaZ » 2007-12-18 22:44

jeg bruger den danske version, downloaded fra dette site...

kan det være fordi jeg har smidt det forkert ind i index.php?..

jeg har bare smidt det ind, som det allerførste.

her er det i notepad:

Billede
Senest rettet af ThiaZ 2007-12-18 22:53, rettet i alt 1 gang.
ThiaZ
Godt igang
Godt igang
 
Indlæg: 57
Tilmeldt: 2007-03-24 19:53

Indlægaf pertho » 2007-12-18 22:48

Hvorfor ikke bare bruge den seneste version fra den officielle side: MS2.2.RC1. Der er indbygget password beskyttelse af admin siden, og så er I fri for al det fis med selv at finde metoder til at beskytte admin? :-)
pertho
VIP medlem
VIP medlem
 
Indlæg: 2136
Tilmeldt: 2007-08-16 22:25

Indlægaf ThiaZ » 2007-12-18 22:57

pertho, fordi at jeg i sommers da jeg begyndte på sitet, ville have en dansk en.. og der var den jeg nævner, den eneste.. derfor ;)
ThiaZ
Godt igang
Godt igang
 
Indlæg: 57
Tilmeldt: 2007-03-24 19:53

Indlægaf pertho » 2007-12-18 22:59

pertho
VIP medlem
VIP medlem
 
Indlæg: 2136
Tilmeldt: 2007-08-16 22:25

Indlægaf mbaek » 2007-12-18 23:40

mbaek
Ekspert medlem
Ekspert medlem
 
Indlæg: 1024
Tilmeldt: 2006-10-4 18:45
Geografisk sted: Tilst

Indlægaf ThiaZ » 2007-12-18 23:43

ThiaZ
Godt igang
Godt igang
 
Indlæg: 57
Tilmeldt: 2007-03-24 19:53

Indlægaf mbaek » 2007-12-19 10:31

mbaek
Ekspert medlem
Ekspert medlem
 
Indlæg: 1024
Tilmeldt: 2006-10-4 18:45
Geografisk sted: Tilst

Indlægaf ThiaZ » 2007-12-19 17:34

ThiaZ
Godt igang
Godt igang
 
Indlæg: 57
Tilmeldt: 2007-03-24 19:53

Indlægaf mbaek » 2007-12-19 21:08

mbaek
Ekspert medlem
Ekspert medlem
 
Indlæg: 1024
Tilmeldt: 2006-10-4 18:45
Geografisk sted: Tilst

Indlægaf ThiaZ » 2007-12-19 21:18

ThiaZ
Godt igang
Godt igang
 
Indlæg: 57
Tilmeldt: 2007-03-24 19:53


Tilbage til Tips & Tricks

Hvem er online

Brugere der læser dette forum: Ingen tilmeldte og 11 gæster

cron