[Release]Web Register

02/28/2010 23:41 Schwap#31
eh prof, i had to remove a couple of ";" in the php.ini
without removing i had the same issue
03/01/2010 02:39 thunderxc#32
Quote:
Originally Posted by Schwap View Post
copy the php.ini into this folder: C:\xampp\php
extract the files from sandolkakos into this folder: C:\xampp\htdocs\

u reach the registration in ur webbrowser following this link:
Code:
http://localhost/
the attached txt is my ini, just change txt to ini
YESS!!! THANK YOU! THANK YOU! THANK YOU! :awesome:

@Prof: Thank you also
04/06/2010 06:55 remnikali#33
Quote:
Originally Posted by ProfNerwosol View Post
First thanks go to sandolkakos. Without his post I'd never have done it. Too lazy ;p

I used sandolkakos php script and modified it a bit. Now it call stored procedure in PS_UserData which inserts all the values. It's easier this way and less error prone.

Two files index.php & processor.php are the ones to use. Extra txt file contains procedure. I modified few little things. Just open the procedure (the file has same name), copy paste from the text file and Execute. (the procedure I am talking about is stored in PS_UserData, edit it).

Make sure your php has mssql support turned on. If you are running it on your PC.
i have that reg but its not working to me
<?php
$dbhost = '85.25.149.186';
$dpuser = 'Shaiya';
$dbpass = 'Shaiya123';

$ip = $_SERVER['REMOTE_ADDR'];
$login = trim($_POST['login']);
$pass = trim($_POST['pass']);
$repass = trim($_POST['passp']);

$pwq = '';
$email = '';

ye always a problem

Warning: mssql_select_db() [function.mssql-select-db]: message: The server principal "INDIA160\IUSR_remnikalija" is not able to access the database "PS_UserData" under the current security context. (severity 14) in C:\inetpub\vhosts\india160.server4you.net\httpdocs \processor.php on line 21

Warning: mssql_select_db() [function.mssql-select-db]: Unable to select database: PS_UserData in C:\inetpub\vhosts\india160.server4you.net\httpdocs \processor.php on line 21
Connection to database could not be established!
04/06/2010 20:28 sandolkakos#34
Quote:
Originally Posted by remnikali View Post
i have that reg but its not working to me
<?php
$dbhost = '85.25.149.186';
$dpuser = 'Shaiya';
$dbpass = 'Shaiya123';

$ip = $_SERVER['REMOTE_ADDR'];
$login = trim($_POST['login']);
$pass = trim($_POST['pass']);
$repass = trim($_POST['passp']);

$pwq = '';
$email = '';

ye always a problem

Warning: mssql_select_db() [function.mssql-select-db]: message: The server principal "INDIA160\IUSR_remnikalija" is not able to access the database "PS_UserData" under the current security context. (severity 14) in C:\inetpub\vhosts\india160.server4you.net\httpdocs \processor.php on line 21

Warning: mssql_select_db() [function.mssql-select-db]: Unable to select database: PS_UserData in C:\inetpub\vhosts\india160.server4you.net\httpdocs \processor.php on line 21
Connection to database could not be established!
message: The server principal "INDIA160\IUSR_remnikalija" is not able to access the database "PS_UserData" under the current security context. (severity 14)

look about this in Google:
How to configure SQL Server 2005 to allow remote connections
04/06/2010 21:01 remnikali#35
thnx a lot i will try
does any know the grade id of power lapisia and defense lapisia
to put which mob to drop

its not wotking
Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: 85.25.149.186 in C:\inetpub\vhosts\india160.server4you.net\httpdocs \processor.php on line 20

Warning: mssql_select_db(): supplied argument is not a valid MS SQL-Link resource in C:\inetpub\vhosts\india160.server4you.net\httpdocs \processor.php on line 21
Connection to database could not be established!
04/07/2010 09:20 ProfNerwosol#36
If you are running the script on your computer it is better to use computer name. Change $dbhost to:

$dbhost = $_ENV["USER_DOMAIN"];

MSSQL server name is pretty much the name of your computer.
04/07/2010 17:13 remnikali#37
Quote:
Originally Posted by ProfNerwosol View Post
If you are running the script on your computer it is better to use computer name. Change $dbhost to:

$dbhost = $_ENV["USER_DOMAIN"];

MSSQL server name is pretty much the name of your computer.
i did but i stll get this error

Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: DatabaseIP in C:\inetpub\vhosts\india160.server4you.net\httpdocs \processor.php on line 10

Warning: mssql_select_db(): supplied argument is not a valid MS SQL-Link resource in C:\inetpub\vhosts\india160.server4you.net\httpdocs \processor.php on line 11
MSSQL Conection Error!
05/03/2010 07:07 asianboy1312#38
i connected to DB and can resgister but..... my problem is ..it only show up Name + pw and repw..... unlike the list in the file index.php (i used the one of first post version 4)
05/28/2010 14:41 remnikalija#39
i installed the xamp server but i registration dident work i get that error

Fatal error: Call to undefined function mssql_connect() in C:\xampp\htdocs\register\processor.php on line 10
07/06/2010 06:49 AriezOMG#40
I'm getting an error in SQL. Does anyone know how to fix this error, I have prof.'s files the ep4 ones and it says this when i run the query:

Msg 208, Level 16, State 6, Procedure sp_CreateOmgGMGameAccount, Line 27
Invalid object name 'dbo.sp_CreateOmgGMGameAccount'.

Apparently it doesn't exist, so anyone know whats up?
07/10/2010 05:34 sandolkakos#41
Quote:
Originally Posted by Apocalypsist View Post
I'm getting an error in SQL. Does anyone know how to fix this error, I have prof.'s files the ep4 ones and it says this when i run the query:

Msg 208, Level 16, State 6, Procedure sp_CreateOmgGMGameAccount, Line 27
Invalid object name 'dbo.sp_CreateOmgGMGameAccount'.

Apparently it doesn't exist, so anyone know whats up?
This Procedure is trying access the table:
dbo.sp_CreateOmgGMGameAccount

my Procedure is this:

Code:
set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
go


/****** Object:  Stored Procedure dbo.sp_CreateOmgGMGameAccount    Script Date: 2008-6-7 18:29:10 ******/
ALTER   PROCEDURE [dbo].[sp_CreateOmgGMGameAccount] 
	@UserUID int,
	@GameAccount varchar(18),
	@OneTimePassword varchar(32),
	@DelCharPwd varchar(50)

AS

Declare 
	@myRowCounts int

BEGIN
	--SET NOCOUNT OFF;

	IF NOT EXISTS(Select * From GameAccountTBL with (nolock) Where GameAccount=@GameAccount )	
		BEGIN
			Insert Into GameAccountTBL (UserUID,GameAccount,OneTimePassword,OTPExpireDate,DelCharPwd)
				Values (@UserUID,@GameAccount,@OneTimePassword,'2050/1/1',@DelCharPwd)

			SET @myRowCounts = @@ROWCOUNT;

			SET @OneTimePassword = Right(@OneTimePassword + 'gyyg' ,18);
			
			Return @myRowCounts	
		END


END
07/11/2010 01:35 ShaiyaUnited#42
sandolkakos
Need u help .. can u pm me ur mail =)
07/11/2010 05:01 sandolkakos#43
Quote:
Originally Posted by ShaiyaUnited View Post
sandolkakos
Need u help .. can u pm me ur mail =)
my time is very short.
then i only can give assistence here in the topics, when i enter. ;)
07/11/2010 12:43 AriezOMG#44
Ahh might want to add in find OMG_GameWEB > Right Click > New Query to run that bud. :) seeing as that's where the database is and to my knowledge the only way it'll work.
08/22/2010 09:25 potheadpewe#45
im getting
Fatal error: Call to undefined function mssql_connect() in C:\xampplite\htdocs\processor.php on line 10

im running on xampplight and i did all you said to do mines a generic server right now so ip is 127.0.0.1 and the other things are default how do i get past that error