Jump to content
php.lv forumi

Md5()


Braiens

Recommended Posts

<?php

$base=file.txt

if(!$pass){//ja mainigais $pass tukss

echo "<form action="" method="post">

<input name="parole" type="text" value="">

<input type="submit" value="ap" name="ap">

</form>";// nonemt visur pedinas

}

if(!$pass==""){//ja mainigais pilns

$pass=md5($pass);

$pass_kodetais=file($base);

if($pass_kodetais[0]=$pass){

echo"pareizs pass";

\site kaut kas cits :)

$pass_kodetais=file($base);

$atkodets=md5($pass_kodetais)

echo"$atkodets";

}//karoce murgs!

?>

Link to comment
Share on other sites

<?php

$base="file.txt";

if(!$pass){

echo "<form method=post>

<input name=pass type=text value=>

<input type=submit value=ap name=ok>

</form>";

}

if (isset($ok){

if(!$pass==""){

$pass=md5($pass);

$pass_kodetais=file($base);

if($pass_kodetais[0]=$pass){

echo"pareizs pass";

$pass_kodetais=file($base);

$atkodets=md5($pass_kodetais)

echo"$atkodets";

}

}

?>

Link to comment
Share on other sites

×
×
  • Create New...