Can anyone help me with this? Register account and get silk,using chernobyl simple reg php but need to add silk to SK_Silk when register but i dont know php coding.thx, again every1 who help.
There should be a part of the script that gives the starting silk value to 0, I have never seen his script but if you could post it I will edit it for you.
There should be a part of the script that gives the starting silk value to 0, I have never seen his script but if you could post it I will edit it for you.
here is the script;
<?php
/* Simple registration page for silkroad server, by Chernobyl
* Settings are at _inc/config.php
* If you get an mssql connection error, while defining totally correct data
* Just use older ntwdblib.dll for your webserver
*/
require_once('_inc/security.class.php');
require_once('_inc/config.php');
if(!isset($_POST['submit']))
{
echo "<table border='1'>
<form method='post'>
<td>Username</td><td><input type='text' name='username' maxlength='16'></td><tr/>
<td>Password[1]</td><td><input type='password' name='pw1' maxlength='32'></td><tr/>
<td>Password[2]</td><td><input type='password' name='pw2' maxlength='32'></td><tr/>
<td></td><td><input type='submit' name='submit' value='Register'></td>
</form>
</table>";
}
else
{
if(strlen($_POST['username']) < 3) $msg[] = "Username too short";
if(strlen($_POST['username']) > 16)$msg[] = "Username too long";
if(strlen($_POST['pw1']) < 6) $msg[] = "Password [1] too short";
if(strlen($_POST['pw1']) > 32)$msg[] = "Password [1] too long";
if(strlen($_POST['pw2']) < 6) $msg[] = "Password [2] too short";
if(strlen($_POST['pw']) > 32) $msg[] = "Password [2] too long";
if($_POST['pw1'] != $_POST['pw2']) $msg[] = "Passwords are not the same";
Oddly that script does not inseret a defult of 0 for silk, (which I gusse would save space and time for the writer), I don't know SRO SQL collumes names, so really can't help you there!
WTS 3 x 500 SILK e-PIN CODES (1500 SILK) 09/10/2010 - Silkroad Online Trading - 21 Replies Selling 3 x 500 silk e-PIN CODES
Totally of 1500 silk that you can charge in what server you want.
Price : 500 silk - 40$
1000 silk - 80$ SOLD
1500 silk - 120$
We use middleman or you go first
Paypal, W.U, MB