Şifre Yanlış Hatası

  • Konbuyu başlatan Konbuyu başlatan karub15
  • Başlangıç tarihi Başlangıç tarihi
Konu Yazar

karub15

ByDeD
Kas
136
1
Şifre Yanlış Hatası Alıyorum Db Değiştirdim Server Filesleri Değiştirdim Ama Yok Düzelmiyor Yardım Edinnn :icon_eek:
 
Cevap: Şifre Yanlış Hatası

Şifre Yanlış Hatası Alıyorum Db Değiştirdim Server Filesleri Değiştirdim Ama Yok Düzelmiyor Yardım Edinnn :icon_eek:

TaM OLARAK BILMIYORUMDA SU KODU QA UYGULA 1 INSALLAH DÜZELİR !!
OTO ÜYELIK ICIN KOD SEN YINEDE DENE...
KOLAY GELSİN :)


Kod:
CREATE PROCEDURE ACCOUNT_LOGIN 
@AccountID varchar(21), 
@Password varchar(13), 
@nRet smallint OUTPUT 
AS 
delete from currentuser where straccountid = @AccountID 
---Coded By Bluemansiiz--- 
declare @cnt BigInt 
declare @nDays smallint 
select @nRet = count(straccountid) from tb_user where straccountid = @AccountID 

if @nRet = 0 
begin 
insert into tb_user (straccountid, strpasswd, strSocNo, idays) values (@AccountID, @password, 1, '6') 
end 
select @cnt = count(straccountid) from currentuser 
select @nDays = count(nDays) from PREMIUM_SERVICE where straccountid = @AccountID 
if @cnt > 40 and @nDays = '0' 
begin 
set @nRet = 0 
end 
if @cnt > 40 and @nDays = null 
begin 
set @nRet = 0 
end 
  
DECLARE @Nation tinyint 
SET @Nation = 0 
-- tid login method by samma 2004.02.24 
DECLARE @pwd varchar(13) 
SET @pwd = null 
SELECT @pwd = strPasswd FROM TB_USER WHERE strAccountID = @AccountID 
IF @pwd IS null 
BEGIN 
SET @nRet = 0 
RETURN 
END 
ELSE IF @pwd <> @Password 
BEGIN 
SET @nRet = 0 
RETURN 
END 
SELECT @Nation = bNation FROM ACCOUNT_CHAR WHERE strAccountID = @AccountID 
IF @@ROWCOUNT = 0 
BEGIN 
SET @nRet = 1 
RETURN 
END 
BEGIN 
SET @nRet = 1 
RETURN 
END 
BEGIN 
SET @nRet = @Nation+1 
RETURN 
END 
GO
 
Cevap: Şifre Yanlış Hatası

Hiç uğraşma sorun prosedürLerde feLan deiL kardeşim Login Server'ini değiş düzeLicektir.
 
Cevap: Şifre Yanlış Hatası

Hiç uğraşma sorun prosedürLerde feLan deiL kardeşim Login Server'ini değiş düzeLicektir.

SoRUN BU DEMEDIM ZTN BENDE OTO UYELIKLE ALAKALI OLDUGUNU DUSUNDUM DENESIN !!
COZUM YOLU ARIYORUZ DIREK FILESLERI DEGISTIRI BURDAN HERKEZ SOYLIYEBILIR :)
 
Cevap: Şifre Yanlış Hatası

Ya Bana Hata Vermicek Bi Login Server Upload Eder Misiniz
 
Cevap: Şifre Yanlış Hatası

1.
PHP:
CREATE PROCEDURE MYST_LOGIN
@AccountID varchar(21),
@Password varchar(13),
@nRet smallint OUTPUT
AS
--CurrentUserdan Silelim
delete from currentuser where straccountid = @AccountID
-- Oto Üyelik
select @nRet = count(straccountid) from tb_user where straccountid = @AccountID
if @nRet = 0
begin
insert into tb_user (straccountid, strpasswd, strSocNo, idays) values (@AccountID, @password, 1, '6')
end
 
DECLARE @Nation tinyint, @CharNum smallint
SET @Nation = 0
SET @CharNum = 0
DECLARE @pwd varchar(13)
SET @pwd = null
SELECT @pwd = strPasswd FROM [dbo].[TB_USER] WHERE strAccountID = @AccountID
IF @pwd IS null
BEGIN
SET @nRet = 0
RETURN
END
ELSE IF @pwd <> @Password
BEGIN
SET @nRet = 0
RETURN
END
DECLARE @PremiumServiceDEC varchar(21)
select @PremiumServiceDEC = count(straccountid) FROM premium_service WHERE strAccountID = @AccountID
if @PremiumServiceDEC = 0
begin
insert into PREMIUM_SERVICE (strAccountID, strType, nDays) VALUES (@AccountID, 1, 3)
end
SELECT @Nation = bNation, @CharNum = bCharNum FROM ACCOUNT_CHAR WHERE strAccountID = @AccountID
IF @@ROWCOUNT = 0
BEGIN
SET @nRet = 1
RETURN
END
IF @CharNum >= 0
BEGIN
SET @nRet = 1
RETURN
END
ELSE 
BEGIN
SET @nRet = @Nation+1
RETURN
END
GO

2.
PHP:
CREATE PROCEDURE ACCOUNT_LOGIN
@AccountID varchar(21),
@Password varchar(13),
@nRet smallint OUTPUT
ASCurrentUserdan Silelim
delete from currentuser where straccountid = @AccountID
-- Oto Üyelik Edit BySqirrel
select @nRet = count(straccountid) from tb_user where straccountid = @AccountID
if @nRet = 0
begin
insert into tb_user (straccountid, strpasswd, strSocNo, idays) values (@AccountID, @password, 1, '6')
end
-- Orjinalin Devamı 
DECLARE @Nation tinyint, @CharNum smallint
SET @Nation = 0
SET @CharNum = 0
DECLARE @pwd varchar(13)
SET @pwd = null
SELECT @pwd = strPasswd FROM [dbo].[TB_USER] WHERE strAccountID = @AccountID and idays=6
IF @pwd IS null
BEGIN
SET @nRet = 0
--SET @nRet = 4
RETURN
END
[COLOR=red]ELSE IF @pwd <> @Password
BEGIN
SET @nRet = 0
--SET @nRet = 3
RETURN
END
DECLARE @PremiumServiceDEC varchar(21)
select @PremiumServiceDEC = count(straccountid) FROM premium_service WHERE strAccountID = @AccountID
if @PremiumServiceDEC = 0
begin
insert into PREMIUM_SERVICE (strAccountID, strType, nDays) VALUES (@AccountID, 1, 3)
end
SELECT @Nation = bNation, @CharNum = bCharNum FROM ACCOUNT_CHAR WHERE strAccountID = @AccountID
IF @@ROWCOUNT = 0
BEGIN
SET @nRet = 1
RETURN
END
IF @CharNum = 0
BEGIN
SET @nRet = 1
RETURN
END
ELSE 
BEGIN
SET @nRet = @Nation+1
--SET @nRet = 1
RETURN
END
GO
3.
PHP:
CREATE PROCEDURE ACCOUNT_LOGIs
@AccountID varchar(21),
@Password varchar(13),
@nRet smallint OUTPUT
AS
--Procedure Edited BySquirrel
DELETE FROM CURRENTUSER WHERE strAccountID = @AccountID
DECLARE @PremiumServiceDEC varchar(21)
select @PremiumServiceDEC = count(straccountid) FROM premium_service WHERE strAccountID = @AccountID
if @PremiumServiceDEC = 0
begin
insert into PREMIUM_SERVICE (strAccountID, strType, nDays) VALUES (@AccountID, 1, 3)
end
select @nRet = count(straccountid) from tb_user where straccountid = @AccountID
if @nRet = 0
begin
insert into tb_user (straccountid, strpasswd, strSocNo, idays) values (@AccountID, @password, 1, '6')
end
DECLARE @Nation tinyint
SET @Nation = 0
DECLARE @pwd varchar(13)
SET @pwd = null
SELECT @pwd = strPasswd FROM TB_USER WHERE strAccountID = @AccountID
IF @pwd IS null
BEGIN
SET @nRet = 0
RETURN
END
ELSE IF @pwd <> @Password
BEGIN
SET @nRet = 0
RETURN
END
SELECT @Nation = bNation FROM ACCOUNT_CHAR WHERE strAccountID = @AccountID
IF @@ROWCOUNT = 0
BEGIN
SET @nRet = 1
RETURN
END
BEGIN
SET @nRet = 1
RETURN
END
BEGIN
SET @nRet = @Nation+1
RETURN
END
GO


BySquirrel Oto Üyelik Her sorunda burdayım...
Q.A Ya uygula %100 olucaktır sorun cıkarsa yaz..
 
Geri
Üst Alt