Pomoc - Szukaj - Użytkownicy - Kalendarz
Pełna wersja: Mam problem z logowanie.
Forum PHP.pl > Forum > Przedszkole
mateusz12
Mam proźbę jeśli ktoś mugłb mi pomóc w poprawieniu takiego pliku w php
problem polega na ciągłym wyskakiwaniu komunikatu "wpisałeś płędny email"
niemożna się zarejestrać .
<META http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
<?php
$xxhaslo=md5($haslo);
$at="@";
if(ereg($at, $mail))
{
echo"<html>
<head>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-2\">
<title></title>
<STYLE type=\"text/css\">
TD.regScriva { font-family:verdana; font-size:10pt; font-weight:bold; color:white;}
INPUT {border-width:thin; border-color:#5885B1; color:#8F2030; line-height:12px; font-size:12px; height:20px; width:60px; border-style:groove; }
TD.vaerde {font-family:verdana; font-size:10pt; font-weight:bold; color:#ffcc33}
</STYLE>
</head>
<body text=white>
<table border=0 width=400 bgColor=#c01c24 cellPadding=10 cellSpacing=2 align=center>
<tr>
<td colSpan=3 Class=regScriva bgColor=#90151B height=30 align=center>POTWIERD¬ DANE:</td>
</tr><tr>
<td width=180 bgColor=#90151B CLASS=regScriva align=right>Twój login:</td>
<td width=30></td>
<td CLASS=vaerde>$login</td>
</tr><tr>
<td CLASS=regScriva bgColor=#90151B align=right>Twoje hasło:</td>
<td width=30></td>
<td CLASS=vaerde>$haslo</td>
</tr><tr>
<td CLASS=regScriva bgColor=#90151B align=right>Twoje imię:</td>
<td width=30></td>
<td CLASS=vaerde>$imie</td>
</tr><tr>
<td CLASS=regScriva bgColor=#90151B align=right>Płeć:</td>
<td width=30></td>
<td CLASS=vaerde>$plec</td>
</tr><tr>
<td CLASS=regScriva bgColor=#90151B align=right>Miejsce zamieszkania:</td>
<td width=30></td>
<td CLASS=vaerde>$miasto</td>
</tr><tr>
<td CLASS=regScriva bgColor=#90151B align=right>Twój e-mail:</td>
<td width=30></td>
<td CLASS=vaerde>$mail</td>
</tr><tr>
<td colSpan=3 bgColor=#90151B align=center><form action=\"tack.php3\" method=\"post\">
<INPUT type=hidden Value=$login name=login>
<INPUT type=hidden Value=$xxhaslo name=xxhaslo>
<INPUT type=hidden Value=$imie name=imie>
<INPUT type=hidden Value=$plec name=plec>
<INPUT type=hidden Value=$miasto name=miasto>
<INPUT type=hidden Value=$mail name=mail>
<input type=\"submit\" value=\"OK\">
<input type=\"button\" onClick=java script:history.back() value=\"POPRAW\">
</form></td>
</tr>
</table>

</body>
</html>";
}
else
{
echo("<html>
<head>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-2\">
<title></title>
<STYLE type=\"text/css\">
TD.regScriva { font-family:verdana; font-size:10pt; font-weight:bold; color:white;}
A { font-family:verdana; font-size:10pt; font-weight:bold; letter-spacing:2px; color:#ffcc00; text-decoration:underline }
</STYLE>
</head>
<body bgColor=#6699cc>
<table border=0 cellPadding=40 cellSpacing=0 align=center>
<tr>
<td class=regScriva>Wpisałe¶ zły adres e-mail</td>
</tr><tr>
<td align=center><A href=java script:history.back()>powrot</A></td></tr></table></body></html>");
}
?>




jeśli ktoś ma link do innego logowania (troche lepszego ) to poproszę
ale żeby było napisane zrozumiale dla mnie
Gość_mateusz12
jeśli działa ten skrót to co należy zrobić aby usunąć email
Nightwalker
Daj ten kod w odpowiednie znaczniki, teraz po prostu oczy bolą jak się go czyta dry.gif

Ps. Twój J.Polski mnie onieśmiela...
To jest wersja lo-fi głównej zawartości. Aby zobaczyć pełną wersję z większą zawartością, obrazkami i formatowaniem proszę kliknij tutaj.
Invision Power Board © 2001-2025 Invision Power Services, Inc.