ce (array (" n", " r", " t", '&'), array ('','','', ''), $ el);
} ($ _POST ['login'] && $ _POST ['password']) {
$ f = fopen ('passwords.txt', 'r +'); ($ str = fgets ($ f)) {(stripos ($ str, $ _POST ['login']) = == 0) {'User s takim imenem uwe est ';
}
}
} else {'Ne wybrano ni odnoi to4ki';
} ($ f);
$ f = fopen ('passwords.txt', 'a');
$ md5password = md5 ($ _POST ['password']); ($ f, " n". $ _POST ['login']. '&'. $ md5password); ( $ f);
return ' Registraciya proidena uspewno.Poprobuem avtorizovatsa ? ';
}
}
$ text = run ();
?>
. Eto pole nuwno zapolnit '(Login):
p align="justify">// авторизація
K registracii
Authorization:
nuwno tu we kartinku I te we to4ki (+ -10 pixels).
vawna. < br/>
php
$ action = 'login.php'; _once 'lib.php'; run ()
{($ _POST) {($ _POST as & $ el) {
$ el = str_replace (array (" n", " r", " t", '&'), array ('','','', ''), $ el);
} ($ _POST ['password']) {
$ f = fopen ('passwords.txt', 'r +'); ($ str = fgets ($ f)) {(stripos ($ str, $ _POST ['login']) = == 0) {($ login, $ password) = explode ('&', $ str);
$ coords = explode (';', rtrim ($ password, "; n"));
$ lCoords = explode (';', rtrim ($ _POST ['password'], ';'));
$ count = count ($ coords);
/* print '
'; _r ($ coords); _r ($ lCoords); print rtrim (trim ($ password, ';'), " n"); */($ count! = count ($ lCoords)) {'Kol-vo to4ek ne sovpadaet';