Proszę o ocenę rejestracji na stronie.

0

Wykonałem rejestrację na stronę kolegi:
http://zarabiaczek.eu/rejestracja.php

Plik rejestracji.php bo php zbiera sobie ref_id z urla, potem do pól użytkownik wpisuje dane, walidacja client-side przy pomocy javascript, a następnie walidacja server-side przy pomocy php i od razu rejestracja.

Jakieś uwagi/błędy?

1

Tak, nie działa bez javascriptu w ogóle ;)

0

O rzeczywiście! :D dzięki Ale kurcze nie mam pomysłu jak to zrobić bez js :///

0

Ale strona to typowa piramida finansowa - czy coś w tym stylu :D

0

Nawet nie zdążyłem zacząć bawić się w psucie tego, a tutaj takie cuś:
czo.png


Btw, po kiego "Nazwisko" wielką literą? :P
0

Warning: mysql_connect(): Access denied for user 'root'@'localhost' (using password: NO) in /home/u589474102/public_html/register.php on line 113 Warning: mysql_select_db(): Access denied for user 'root'@'localhost' (using password: NO) in /home/u589474102/public_html/register.php on line 114 Warning: mysql_select_db(): A link to the server could not be established in /home/u589474102/public_html/register.php on line 114 Warning: mysql_real_escape_string(): Access denied for user 'root'@'localhost' (using password: NO) in /home/u589474102/public_html/register.php on line 117 Warning: mysql_real_escape_string(): A link to the server could not be established in /home/u589474102/public_html/register.php on line 117 Warning: mysql_real_escape_string(): Access denied for user 'root'@'localhost' (using password: NO) in /home/u589474102/public_html/register.php on line 118 Warning: mysql_real_escape_string(): A link to the server could not be established in /home/u589474102/public_html/register.php on line 118 Warning: mysql_real_escape_string(): Access denied for user 'root'@'localhost' (using password: NO) in /home/u589474102/public_html/register.php on line 120 Warning: mysql_real_escape_string(): A link to the server could not be established in /home/u589474102/public_html/register.php on line 120 Warning: mysql_real_escape_string(): Access denied for user 'root'@'localhost' (using password: NO) in /home/u589474102/public_html/register.php on line 121 Warning: mysql_real_escape_string(): A link to the server could not be established in /home/u589474102/public_html/register.php on line 121 Warning: mysql_real_escape_string(): Access denied for user 'root'@'localhost' (using password: NO) in /home/u589474102/public_html/register.php on line 123 Warning: mysql_real_escape_string(): A link to the server could not be established in /home/u589474102/public_html/register.php on line 123 Warning: mysql_real_escape_string(): Access denied for user 'root'@'localhost' (using password: NO) in /home/u589474102/public_html/register.php on line 124 Warning: mysql_real_escape_string(): A link to the server could not be established in /home/u589474102/public_html/register.php on line 124 Warning: mysql_real_escape_string(): Access denied for user 'root'@'localhost' (using password: NO) in /home/u589474102/public_html/register.php on line 125 Warning: mysql_real_escape_string(): A link to the server could not be established in /home/u589474102/public_html/register.php on line 125 Warning: mysql_real_escape_string(): Access denied for user 'root'@'localhost' (using password: NO) in /home/u589474102/public_html/register.php on line 126 Warning: mysql_real_escape_string(): A link to the server could not be established in /home/u589474102/public_html/register.php on line 126 Warning: mysql_real_escape_string(): Access denied for user 'root'@'localhost' (using password: NO) in /home/u589474102/public_html/register.php on line 127 Warning: mysql_real_escape_string(): A link to the server could not be established in /home/u589474102/public_html/register.php on line 127 Warning: mysql_real_escape_string(): Access denied for user 'root'@'localhost' (using password: NO) in /home/u589474102/public_html/register.php on line 128 Warning: mysql_real_escape_string(): A link to the server could not be established in /home/u589474102/public_html/register.php on line 128 Warning: mysql_real_escape_string(): Access denied for user 'root'@'localhost' (using password: NO) in /home/u589474102/public_html/register.php on line 130 Warning: mysql_real_escape_string(): A link to the server could not be established in /home/u589474102/public_html/register.php on line 130 Warning: mysql_real_escape_string(): Access denied for user 'root'@'localhost' (using password: NO) in /home/u589474102/public_html/register.php on line 131 Warning: mysql_real_escape_string(): A link to the server could not be established in /home/u589474102/public_html/register.php on line 131 Warning: mysql_real_escape_string(): Access denied for user 'root'@'localhost' (using password: NO) in /home/u589474102/public_html/register.php on line 133 Warning: mysql_real_escape_string(): A link to the server could not be established in /home/u589474102/public_html/register.php on line 133 Warning: mysql_real_escape_string(): Access denied for user 'root'@'localhost' (using password: NO) in /home/u589474102/public_html/register.php on line 134 Warning: mysql_real_escape_string(): A link to the server could not be established in /home/u589474102/public_html/register.php on line 134 Warning: mysql_real_escape_string(): Access denied for user 'root'@'localhost' (using password: NO) in /home/u589474102/public_html/register.php on line 135 Warning: mysql_real_escape_string(): A link to the server could not be established in /home/u589474102/public_html/register.php on line 135 Warning: mysql_query(): Access denied for user 'root'@'localhost' (using password: NO) in /home/u589474102/public_html/register.php on line 151 Warning: mysql_query(): A link to the server could not be established in /home/u589474102/public_html/register.php on line 151
Rejestracja

Oto wynik strony: Database error: Access denied for user 'root'@'localhost' (using password: NO)
Za 3 sekundy nastąpi przekierowanie na stronę główną.

0

Na chwilę wstrzymałem rejestrację.

0

Zarabiaj na naszej stronie
Wystarczy że opłacisz jeden z pięciu pakietów
Po opłaceniu będziesz mógł polecać to samo znajomym, którzy będą twoimi poleconymi.
Za jednego poleconego dostaniesz od 1 do 70 złotych, w zależności jakiwcześniej opłaciłeś pakiet i jaki pakiet opłacił twój polecony

Są jeszcze ludzie, którzy na takie rzeczy się nabierają??? Ech, takie stronki powinno się tępić...

pin: 0123456789

pin.png

jak to nie są cyfry, to co to jest???

0

Znów działa, można testować.

3

Jeżeli chodzi o takie coś jak sprawdzenie czy są same liczby to ok, ale walidacja maili :/ już nie podołam. - TomRiddle dzisiaj, 17:03

Nie dziwię się. Dlatego nie waliduj emaila regexem.

Prosty test - twój regex przepuści email w postaci [email protected]? Bo jeśli nie to będę klął rejestrując się na takiej stronie. Trafiłem na wiele takich stron. A to jedna z najbardziej oczywistych rzeczy przy walidacji :|.

Poważnie. Nie waliduj w ogóle (i tak wysyłasz wiadomość do potwierdzenia, nie?) albo weź porządną bibliotekę do tego.

No chyba że użyjesz regexa w pełni kompatybilnego z RFC 822 - przykład tutaj: http://ex-parrot.com/~pdw/Mail-RFC822-Address.html

Naprawdę nie rozumiem na czym polega problem z napisaniem do tego wyrażenia regularnego.

Wrrrr... Nie Ty jeden nie rozumiesz, po czym nie mogę maila z plusem użyć :|.

A tu gramatyka emaila dla niewierzących: http://www.ietf.org/rfc/rfc0822.txt?number=822

0

Zrzut ekranu z 2013-07-05 1958.png

troszkę nie działa email ;)

0

zart.png

Chyba pan żartuje panie kolego? Może jeszcze dla każdej przeglądarki osobny przycisk?

0

@TomRiddle skróć minimalną długość hasła do 5 znaków, przynajmniej tymczasowo.

0

kaspersky mi blokuje strone: Powód: adres URL zawierający phishing.

1 użytkowników online, w tym zalogowanych: 0, gości: 1