awesome.. thanx alot m8 :D
Printable View
awesome.. thanx alot m8 :D
please help me
[11-Nov-2004 12:32:11] PHP Warning: mssql_connect() [C:\apache2triad\php\manual\function.mssql-connect.html]: message: Login failed for user 'sa'. Reason: Not associated with a trusted SQL Server connection. (severity 14) in C:\apache2triad\htdocs\reg\reg.php on line 51
[11-Nov-2004 12:32:11] PHP Warning: mssql_connect() [C:\apache2triad\php\manual\function.mssql-connect.html]: Unable to connect to server: 192.168.1.101 in C:\apache2triad\htdocs\reg\reg.php on line 51
[11-Nov-2004 12:32:17] PHP Warning: mssql_select_db() [C:\apache2triad\php\manual\function.mssql-select-db.html]: Unable to connect to server: (null) in C:\apache2triad\htdocs\reg\reg.php on line 53
[11-Nov-2004 12:32:17] PHP Warning: mssql_select_db() [C:\apache2triad\php\manual\function.mssql-select-db.html]: A link to the server could not be established in C:\apache2triad\htdocs\reg\reg.php on line 53
[11-Nov-2004 12:32:23] PHP Warning: mssql_query() [C:\apache2triad\php\manual\function.mssql-query.html]: Unable to connect to server: (null) in C:\apache2triad\htdocs\reg\reg.php on line 66
[11-Nov-2004 12:32:23] PHP Warning: mssql_query() [C:\apache2triad\php\manual\function.mssql-query.html]: A link to the server could not be established in C:\apache2triad\htdocs\reg\reg.php on line 66
[11-Nov-2004 12:32:23] PHP Warning: mssql_num_rows(): supplied argument is not a valid MS SQL-result resource in C:\apache2triad\htdocs\reg\reg.php on line 67
[11-Nov-2004 12:32:29] PHP Warning: mssql_query() [C:\apache2triad\php\manual\function.mssql-query.html]: Unable to connect to server: (null) in C:\apache2triad\htdocs\reg\reg.php on line 71
[11-Nov-2004 12:32:29] PHP Warning: mssql_query() [C:\apache2triad\php\manual\function.mssql-query.html]: A link to the server could not be established in C:\apache2triad\htdocs\reg\reg.php on line 71
[11-Nov-2004 12:32:35] PHP Warning: mssql_query() [C:\apache2triad\php\manual\function.mssql-query.html]: Unable to connect to server: (null) in C:\apache2triad\htdocs\reg\reg.php on line 72
[11-Nov-2004 12:32:35] PHP Warning: mssql_query() [C:\apache2triad\php\manual\function.mssql-query.html]: A link to the server could not be established in C:\apache2triad\htdocs\reg\reg.php on line 72
[11-Nov-2004 12:32:41] PHP Warning: mssql_query() [C:\apache2triad\php\manual\function.mssql-query.html]: Unable to connect to server: (null) in C:\apache2triad\htdocs\reg\reg.php on line 73
[11-Nov-2004 12:32:41] PHP Warning: mssql_query() [C:\apache2triad\php\manual\function.mssql-query.html]: A link to the server could not be established in C:\apache2triad\htdocs\reg\reg.php on line 73
[11-Nov-2004 12:32:41] PHP Fatal error: Maximum execution time of 30 seconds exceeded in C:\apache2triad\htdocs\reg\reg.php on line 73
it tells you whats wrong on the first line...Quote:
Originally Posted by zcloud
try changeing the security in the sql manager to mixed sql and windows autherisation..
Trying to register account:"test1" with password:"test1"
DB Connection established:Resource id #2
DataBase opened:1
Account successfully created
but when i log in game..i have this problem:
password does not match for this account when i used account test1/test1
does it works with asp??Quote:
but when i log in game..i have this problem:
password does not match for this account when i used account test1/test1
check your client dlls version...
nope..doesn't work with ASP and php...i see server Batz with 9999 ms ..click on Batz is back to login ID and Pass..access failedQuote:
Originally Posted by rstrst
ur using the wrong authd server there an encrypt one and a decrypt one, u need the encrypt oneQuote:
Originally Posted by man77
no..i using \l2AuthD.exe with file size 475.192 b (encrypt)
and decrypt is (421 943 b)
look client patch topic... you need 4 dlls... also i've posted a better one:
http://dhhq.narod.ru/patchv3.rar
page opens (it's not error), then click same link in yellow bar
try it, maybe it will help... and you should use your own l2.ini
i got this error too.i can't find any info in php.net and iam php newbie so could you write short tutorial or share your php.ini (if needed).Quote:
Originally Posted by rstrst
p.s could you implement password confirm field?
Well, I got lots of errors as well but the php script created the account. So you gota do is add...
error_reporting(0);
...at the top of reg.php and it won't show any errors. There are some bad side effects to it though because if it isn't able to connect to the database, it wouldn't show it because you turned off error reporting. This could also be done in your php.ini which would apply to all .php files you host.
rstrst - great work! I saved me from installing IIs or recompiling apache. I owe you one, mate :)
- Mathiu Silverburg
Getting this error:
Notice: Undefined index: user in e:\easyphp1-7\www\index.php on line 3
Notice: Undefined index: pass in e:\easyphp1-7\www\index.php on line 3
Fatal error: Call to undefined function: mssql_connect() in e:\easyphp1-7\www\function.php on line 36
Using EasyPhP 1.7
Defined extensions folder to: E:\EasyPHP1-7\php\extensions
(in a plain guess, I never used this stuff before, but since there was an "extensions" folder alredy...)
Put all files in folder "www" n loaded it all up
loged in and got above message
Sorrie if I placed files wrong, "forgot" (more likely didnt know) to add something somewhere etc... just... what to do?
Edit:
Erased. Sorrie for doubbel post, bad connection to RZ today.
1)I recommend using php4
2)I can provide some support for php4 and 5(not tested but similar)
3)I don't know, if easyphp have mssql extension and how to enable it =)
4)check your manual
And some notice about security:
As I said this script is just a template and should to be rewritten to your needs... Mostly it's just an examle of mssql api use.
I've tried to write it secure, but there is still some vuln exist: I recommend removing single quotes char from account variable before querying DB to prevent server DoS(in my script). It would be perfect to allow only letters and numbers.
If you removed variable length checks from my script, this becomes critical for you
please help find this Fixed15-10-2004html.zip
Please, send mirror link.
Could anybody reshare? pliz?
Link is broken, mirror please.
all links broken ... :(