Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - RazorBlack

1
General Discussion / Re: RMX OS Password crypting
October 21, 2014, 08:10:39 am
I know how to add data to "users" but I have problems with "user_data" now.
2
General Discussion / Re: RMX OS Password crypting
October 21, 2014, 01:07:12 am
I think i will go and learn more about PHP and MySQL. Maybe then i will find solution.
3
General Discussion / Re: RMX OS Password crypting
October 20, 2014, 03:50:28 pm
How can i do this?
4
General Discussion / Re: RMX OS Password crypting
October 20, 2014, 12:52:53 pm
I have no idea what should i do :|
Spoiler: ShowHide
5
General Discussion / Re: RMX OS Password crypting
October 19, 2014, 05:19:25 pm
And now i don't know what i should do :/
6
General Discussion / Re: RMX OS Password crypting
October 19, 2014, 01:23:16 pm
Ok, but now when I try to log in to account that I created on the web I've got disconnect
7
General Discussion / Re: RMX OS Password crypting
October 19, 2014, 06:10:58 am
It's something wrong with my last script?
8
General Discussion / Re: RMX OS Password crypting
October 19, 2014, 05:14:27 am
Something like that?
$mdp = $_POST['password'];
$salt = 'XS';
$mdp = crypt($mdp, $salt);
$mdp = substr($mdp,2);
9
General Discussion / Re: RMX OS Password crypting
October 18, 2014, 03:54:12 pm
Even if i find it for sure i won't be able to do anything with this. Can someone be very nice to me and say me what i need to insert in my code

Spoiler: ShowHide
<?php

if($_GET['sk']=='adduser')
{
echo "<div style='border:1px solid silver;background:#FFFFCC;'>";
echo "<div style='margin-left:10px;margin-right:10px;margin-top:2px:margin-bottom:5px'>";
echo "<div style='border:1px solid silver;background:#CCCCCC;'>";
echo "<div style='margin-left:10px;margin-right:10px;margin-top:2px:margin-bottom:5px'>";
echo "<b>Registration</b>";
echo "</div>";
echo "</div>";
echo "<div style='margin-top:5px;'></div>";


if(!isset($_GET['a']))
{
echo "<form action='rej.php?sk=adduser&a=insert' method='POST' />";
echo "<table>";
echo "<tr>";
echo "<td>";
echo "Username";
echo "</td>";
echo "<td>";
echo "<input type='text' name='username' id='username' >";
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>";
echo "Password";
echo "</td>";
echo "<td>";
echo "<input type='password' id='password' name='password' />";
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td colspan='2'>";
echo "<input type='submit' value='Register'>";
echo "</td>";
echo "</tr>";
echo "</table>";

echo "</form>";

}
else if($_GET['a']=='insert')
{
$username = $_POST['username'];
$password = $_POST['password'];




@mysql_query("insert into users set username='$username', password='$password'") or die ("Error<a href='rej.php?sk=adduser'><button>Back</button></a>");
echo "Succesfull!";
echo "<a href='index.php'><button>Continue</button></a>";
}
}

?>
10
General Discussion / RMX OS Password crypting
October 18, 2014, 02:18:54 pm
Do exist any easy way to turn off crypting in RMX OS? Becouse i've done small registration script in php but that crypting ;|