Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   php account. (https://postpacific.loc-online.com/showthread.php?t=741)

Blackmagic 26.05.2005 01:12

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.

SoaPy 26.05.2005 02:52

search for the l2cp, is a good reg php

http://drnagel.dyndns.org/ftp/l2cp.zip

Blackmagic 26.05.2005 04:02

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.

Rikku 26.05.2005 05:12

yeah I got that error too very odd hehe

SoaPy 26.05.2005 06:55

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.

Rikku 26.05.2005 07:05

I did that all before while ago i think got that error I will try tomorrow going bed now.

Blackmagic 26.05.2005 16:18

Yea i did all that but i still get the same errors :(

Rikku 26.05.2005 16:24

yup same.

Blackmagic 26.05.2005 16:29

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

Blackmagic 26.05.2005 16:56

I did search buy i all i could find was a post that said to download l2cp from ragezone but... links are dead.

demon 26.05.2005 17:06

you've better check this.. easyphp etc sucks

https://postpacific.loc-online.com/f...opic.php?t=784

RmzVoid 26.05.2005 17:43

call to undefined...
do you have mssql module installed and configured in your php engine?

Rikku 26.05.2005 18:02

I used easyphp long time nothing else worked fine with before hmmm./

SoaPy 26.05.2005 20:41

Quote:

Originally Posted by Rikku
I used easyphp long time nothing else worked fine with before hmmm./

in found the problem, but still have anothe error but the cp load fine.

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.

Dave2005 26.05.2005 20:53

Quote:

Originally Posted by SoaPy
Quote:

Originally Posted by Rikku
I used easyphp long time nothing else worked fine with before hmmm./

in found the problem, but still have anothe error but the cp load fine.

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
image

with the appserver wasnt have this errors, but now with easyphp yes.

Easy to fix, open your php.ini, remove everything behind "error_reporting = " and put this instead of it: "E_ALL & ~E_NOTICE"

So it will look like: error_reporting = E_ALL & ~E_NOTICE

SoaPy 26.05.2005 20:55

Quote:

Originally Posted by Dave2005
Quote:

Originally Posted by SoaPy
Quote:

Originally Posted by Rikku
I used easyphp long time nothing else worked fine with before hmmm./

in found the problem, but still have anothe error but the cp load fine.

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
image

with the appserver wasnt have this errors, but now with easyphp yes.

Easy to fix, open your php.ini, remove everything behind "error_reporting = " and put this instead of it: "E_ALL & ~E_NOTICE"

So it will look like: error_reporting = E_ALL & ~E_NOTICE

yes i read again the readme.txt and change this and done. :D, just i was having post the fix :D.

SoaPy 29.05.2005 05:25

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]

ThaDon 29.05.2005 19:32

i have exactly the same problem, i followed all from here

pls help :?

SoaPy 29.05.2005 19:49

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.

ThaDon 30.05.2005 01:47

ty, but i think its possible to inject the sql with this script :?

BiGBoY 30.05.2005 05:38

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;
}

ThaDon 30.05.2005 07:58

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

iamrend 30.05.2005 10:17

when i open the web: 127.0.0.1/l2cp it apperat all write. Because it can be?

Rikku 30.05.2005 18:24

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..

SoaPy 30.05.2005 19:27

i fixed my errors in the cp, works great.


All times are GMT. The time now is 15:24.