thanks, im now testing with the new dll.. btw, i think there is a bug on linkerr.htm read, it is deleting the file. Unless im drunk, ive created it 5 times, lol
Ive made a simple php to get chars from ID. This is really simple and for internal use, but i decided to share anyway, even a worm make it..
a.php
[php:1:25f9dbe644]
<form action=a.php method=post>
ID: <input type=field name=id>
Server: <select name=serv><option value=1>bartz</option><option name=2>Sieghardth</option></select>
<input type=submit>
</form>
<?
if($_POST[id]){
//MSSQL IP.
$mssql_addr="SERVER MSSQL ADDR HERE";
//Login
$mssql_user="sa";
//Pass
$mssql_pass="password";
//Which server
if($_POST[serv]==1){
//Your First server db
$mssql_db="lin2world";
} else {
//Your 2nd server db
$mssql_db="lin2world2"; }
mssql_connect($mssql_addr,$mssql_user,$mssql_pass) or die(mssql_error());
mssql_select_db($mssql_db);
$result=mssql_query("
select char_name from user_data where account_id='$_POST[id]'");
echo "ID $_POST[id]:
Chars:";
while($row=mssql_fetch_array($result)){
echo "$row[0]
";
}
}
?>
[/php:1:25f9dbe644]
|