![]() |
php account.
Does any one know where i can get a php account creator. Cuz when i try and run the auth from asp it gets a access violation.
A php account creator whould be alsome. |
|
thanks but i keep geting this error, i think its becouse i didnt configer something or did it wronge
Notice: Undefined index: user in c:\easyphp1-8\www\lineage2\index.php on line 3 Notice: Undefined index: pass in c:\easyphp1-8\www\lineage2\index.php on line 3 Fatal error: Call to undefined function: mssql_connect() in c:\easyphp1-8\www\lineage2\function.php on line 46 If you know how to fix this it would be great Thanks for the files tho. |
yeah I got that error too very odd hehe
|
first you have to enable the mssql function in the easyphp.
- open the php.ini in "C:\Archivos de programa\EasyPHP1-8\php" and search ";extension=php_mssql.dll" and delete the ";" from the begining, save the file and close, and restart the php service. - and check in the folder of the l2cp, the file "config.php", edit and complete this fields: $CONFIG['dbaddress'] = "127.0.0.1"; <----- here you have to put the ip of the l2db $CONFIG['dbuser'] = "sa"; <----- here put the username of your db $CONFIG['dbpass'] = ""; <----- here put the password of you db username Save and close, done. |
I did that all before while ago i think got that error I will try tomorrow going bed now.
|
Yea i did all that but i still get the same errors :(
|
yup same.
|
ok i uploaded this to my webhost and when i did that only error i get now is
Fatal error: Call to undefined function: mssql_connect() in /home/www/sfstats.coolinc.info/l2cp/function.php on line 46 |
I did search buy i all i could find was a post that said to download l2cp from ragezone but... links are dead.
|
|
call to undefined...
do you have mssql module installed and configured in your php engine? |
I used easyphp long time nothing else worked fine with before hmmm./
|
Quote:
you have to seach in easyphp folder, all *.ini, (php.ini and php-safe.ini), and change the ";extension=php_mssql.dll" to "extension=php_mssql.dll", reload the apache and done. but i have another problem because the error "index.php on line 3" i think is a cookie error, and i dont know how fix this yet. look my l2cp error [web:98164e0d96]http://drnagel.dyndns.org/ftp/l2cperror.jpg[/web:98164e0d96] with the appserver wasnt have this errors, but now with easyphp yes. |
Quote:
So it will look like: error_reporting = E_ALL & ~E_NOTICE |
Quote:
|
again but another error in another server, says the user sa is not a correct user of the db :S, check everithing and nothing works :(
[web:0770dc5e0c]http://drnagel.dyndns.org/ftp/error.jpg[/web:0770dc5e0c] |
i have exactly the same problem, i followed all from here
pls help :? |
tha don your error is easy to fix, just do that
open your php.ini, search "error_reporting = " and put this instead of it: "E_ALL & ~E_NOTICE" So it will look like: error_reporting = E_ALL & ~E_NOTICE and done, if it doesnt work, search all php.ini files in your pc, and the php-safe, change this line in all files, reboot the php and done. |
ty, but i think its possible to inject the sql with this script :?
|
Put this in ani injection part in functions.php
<?php function antiinjection($str) { $banwords = array ("'", ",", ";", "--", " or ", ")", "(", " OR ", " and ", " AND ","/n","/r"); if ( eregi ( "[a-zA-Z0-9]+", $str ) ) { $str = str_replace ( $banwords, '', strtolower ( $str ) ); } else { $str = NULL; } $str = trim($str); $str = strip_tags($str); $str = addslashes($str); $str = htmlspecialchars($str); return $str; } |
ty but when i add this i become this, lol
Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: ************ in D:\Inetpub\wwwroot\l2cp\function.php on line 50 Warning: mssql_select_db(): supplied argument is not a valid MS SQL-Link resource in D:\Inetpub\wwwroot\l2cp\function.php on line 51 Fatal error: Call to undefined function mysql_error() in D:\Inetpub\wwwroot\l2cp\function.php on line 51 |
when i open the web: 127.0.0.1/l2cp it apperat all write. Because it can be?
|
so no one has an account maker for php.. thats works aint tied into cp... There sue to be when l2 first started but can't find them..
|
i fixed my errors in the cp, works great.
|
| All times are GMT. The time now is 15:24. |