Posted on Sunday 17th February 2008 at 01:57 PM
ShadowMage
ShadowMage
Code

$aim = htmlspecialchars($_POST[aim]); $location = htmlspecialchars($_POST[location]); $news = htmlspecialchars($_POST[news]); $support = htmlspecialchars($_POST[support]); $mod = htmlspecialchars($_POST[mod]); $level = htmlspecialchars($_POST[userlevel]);


Look at that and tell meh whats wrong :P
Posted on Sunday 17th February 2008 at 01:11 PM
new2old
new2old
You must be changed something you shouldnt be nobody else seems to get the problems your having, read through the tutorial learn from it then change things

You are having this problem with every single script your using so you must be doing something wrong
Posted on Sunday 17th February 2008 at 12:19 PM
Crown
Crown
meh its allways me with problem :( I have put it up chnaged the levels but on the page i get this >>
Code

Username: $user[username] ");//End the echo if($logged[userlevel] == 6 && $logged[id]){ echo ("Password: sha1(md5(md5(sha1(md5(sha1(sha1(md5($user[password))))))))] ");//echo the password holy shit. lol. }else{//if they aren't an admin then echo nothing below echo(''); //echo nothing } //End else if echo ("
Email:
MSN:
AIM:
Location: Current Level: $user[level] User Level: News Reporter:
Support Staff:
Modertor:
");// ends the echo and shows the content on top } else { $email = htmlspecialchars($_POST[email]); $msn = htmlspecialchars($_POST[msn]); $aim = htmlspecialchars($_POST[aim]); $location = htmlspecialchars($_POST[location]); $news = htmlspecialchars($_POST[news]); $support = htmlspecialchars($_POST[support]); $mod = htmlspecialchars($_POST[mod]); $level = htmlspecialchars($_POST[userlevel]); echo ("$_GET[user] has been updated."); // display's message $update = mysql_query("Update users set msn = '$msn', email = '$email', aim = '$aim', location = '$location', news = '$news', support = '$support', level = '$level', mod = '$mod' where username = '$_GET[user]'"); // updates the database } } else { $getusers = mysql_query("Select * from members order by username asc"); // gets the users while($users = mysql_fetch_array($getusers)) { echo("$users[username]"); // display's all users } } } else // if your not admin { echo("Sorry, but your not allowed to view this page."); // display's message if your not admin or not logged in } ?>


Sorry for the spam
Posted on Sunday 1st July 2007 at 03:42 PM
cyruswu
cyruswu
I said it was ramdom and you had to edit to your needs.
Posted on Saturday 30th June 2007 at 03:16 PM
MOD-Dan
MOD-Dan
The levels for RMB are
6-admin
4-MOD
2-Validated
1-Unvalidated
No more comments to show.