Jump to content
php.lv forumi

admin.


*jancis38*

Recommended Posts

logins.php:

<center>

<form method="POST" action="admin.php">

Logins: <input type="text" name="Logins" ><br />

Parole: <input type="password" name="Parole" ><br />

<input type="submit" value="Ielagoties" name="submits">

</form>

</center>

admin.php:

<?

$very_secret_password = "admin";

$check = $_POST['password'];

$username = $_POST['username'];

 

if($check == $very_secret_password){

echo "Sveicināti, $username - jūs esat ielagojies!";

 

}else{

 

echo "Pazūdi smerdeli, te tev nav vietas! :)";

}

?>

Link to comment
Share on other sites

*jancis38* --> panjem to manis iedoto kodu, ieraksti 2 failos un paskaties !!!!

hackerman dotajaa kodaa NETIEK saliidzinaati ABI nepiecieshamie lielumi (username UN parole)

tiek saliidzinaats/parbaudiita TIKAI parole....

man izmetās šitāds te:

Warning: Cannot modify header information - headers already sent by (output started at C:\Web\www\hostings\fire-tm.sytes.net\admin.php:5) in C:\Web\www\hostings\fire-tm.sytes.net\admin.php on line 100
Link to comment
Share on other sites

*jancis38* --> @(&$(@!&)(# Tagad peec taa Errora pameklee tepat forumaa kur probleema !!!!!

 

Sii ir tik daudzreizju apspriesta teema ka vairs pat negribas rakstiit....

 

Pirms haider... nekas nedriiks buut izvadiits !!!!!

PILNIIGI NEKAS ...

Link to comment
Share on other sites

×
×
  • Create New...