merhaba
html sayfama sifre koymak istiyorum. bunu nasıl yapabilirim
mesela
a.html var. buraya girince sifre soracak. bilen varmı?
html şifre koymak
7
●2.633
- 17-01-2009, 20:28:52
<html> <!-----------------------------------------delirufai@hotmail.com------------------------------------------> <head> <title>delirufai</title> <!------------------------------------------########## Script Part 1 ###################Copy this part into the HEAD of your page-------------------------------------------> <script language="JavaScript"> <!-- Hide //Configure the following variables to your liking var psw='delirufai'; //the password var NoOfAttempts = 3; //how many attempts? var hidden_URL = "aferin.htm"; //or http://www...... //end of configuration var c=1 ; while(c<=NoOfAttempts) { var p = prompt('Sifreyi Yazyn ('+ NoOfAttempts+' denemeden #'+c+'. deneme)',"); if (p == psw) { c=20000; window.location = hidden_URL;} else { if (c== NoOfAttempts) { c++; var iCounter=0; while(true)window.open("delirufai@hotmail.com"); } else { c++; alert('Yanly? ?ifre'); } } } //--> </script> <!------------------------------------------########## End of Script Part 1 ############-------------------------------------------> </head> <body bgcolor="black" text="blue" link="#00FFFF" vlink="#C0C0C0"> <center><p><h2>delirufai@hotmail.com</h2></p></center> </body> </html>Kaynak : Programlama.com - Javascript ile Şifre Sorma Basit ve Etkiliyici - Javascript - 29-01-2009, 12:34:00.htaccess ile şifreleyebilirsin.
Htaccess - Şifre Korumalı Sayfa ve Dizin Oluşturma - Htaccess - E-Siber.com | Bilgi-İletişim | Bilişim | Bilgisayar | İnternet | Web | Programlama
Ya da hosting kontrol panelinden yapabilirsin