UCP Password Problem
#1

hy guys, My friend sended me UCP, and i was translating him to my gamemode and tabels, and i vas translated register, but when i wonna to login just say to password not correct, i thing i fuck up somthing so here is code:

PASSWORD IS=Lozinka

Код:
if (isset($_POST['Login']))
				{
					$nimi = $db->Escape($_POST['Nick']);
					$parool = $db->Escape($_POST['Lozinka']);
					$_POST['Nick'] = strip_html_tags(addslashes($_POST['Nick'])); 
					$_POST['Lozinka'] = strip_html_tags(addslashes($_POST['Lozinka']));
					$userid = new UserControl();
					if ($userid->check_user($_POST['Nick'],$_POST['Lozinka']) != 0)
Код:
if(md5($parool) != $test->Lozinka)
									{
										echo '
										<div class="i-box e-box" style="text-shadow: none; position: absolute; margin-left: 691px; margin-top: -660px; width: 195px;">
											Wrong Password!
										</div>';
									}
Reply


Messages In This Thread
UCP Password Problem - by Dusan01 - 17.11.2012, 14:48
Re: UCP Password Problem - by Jantjuh - 17.11.2012, 20:08
Re: UCP Password Problem - by FUNExtreme - 18.11.2012, 11:52
Re: UCP Password Problem - by [MM]18240[FMB] - 18.11.2012, 13:06
Re: UCP Password Problem - by Dusan01 - 18.11.2012, 16:07
Re: UCP Password Problem - by ca2k - 18.11.2012, 16:13
Re: UCP Password Problem - by Riddy - 18.11.2012, 16:19
Re: UCP Password Problem - by Dusan01 - 18.11.2012, 16:45
Re: UCP Password Problem - by [MM]18240[FMB] - 18.11.2012, 16:52
Re: UCP Password Problem - by Dusan01 - 19.11.2012, 04:11

Forum Jump:


Users browsing this thread: 3 Guest(s)