login}'");
/* ------------------------- */ ?>
[( Criminals )]
">
Profiel |
login}\">Bekijk je profiel |
\n";
if(isset($_POST['profile'])) {
$data->url = preg_replace('/\','<',$_POST['website']);
$data->info = preg_replace('/\','<',substr($_POST['info'],0,500));
mysql_query("UPDATE `[users]` SET `url`='{$data->url}',`info`='{$data->info}' WHERE `login`='{$data->login}'");
print " Je profiel is veranderd |
\n";
}
else if(isset($_POST['password'])) {
if($_POST['pass'] != "" && $_POST['pass'] == $_POST['confirm']) {
mysql_query("UPDATE `[users]` SET `pass`=MD5('{$_POST['pass']}') WHERE `login`='{$data->login}'");
print " Je wachtwoord is veranderd |
\n";
}
else
print " De twee wachtwoorden waren niet identiek |
\n";
}
$data->url = stripslashes($data->url);
$data->info = stripslashes($data->info);
print <<
|
|
Wachtwoord |
|
ENDHTML;
/* ------------------------- */ ?>