mirror of
https://github.com/jakejarvis/jbb.git
synced 2026-09-14 23:25:32 -04:00
first commit
This commit is contained in:
Executable
+22
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
include('conf.php');
|
||||
|
||||
$conn = mysql_connect ($sqlServer, $sqlUsername, $sqlPassword)
|
||||
or die ("Uh oh! I could not connect to server $sqlServer.");
|
||||
|
||||
mysql_select_db ($sqlDatabase, $conn)
|
||||
or die ("Uh oh! I could not connect to database $sqlDatabase");
|
||||
|
||||
$query2 = "UPDATE jbb_users
|
||||
SET email = '$usermail' , firstName = '$firstName' , lastName = '$lastName' , avatar = '$avatar' , title = '$title' , aim = '$aim' , msn = '$msn' , yim = '$yim' , intrests = '$intrests' , siteURL = '$website' , location = '$location' , bio = '$bio' , sig = '$sig'
|
||||
WHERE userID ='$ck_userID'";
|
||||
$result2 = mysql_query ($query2)
|
||||
or die ($query2);
|
||||
|
||||
|
||||
echo "<CENTER>Thank you for changing your user settings. Now taking you to the user control panel.<BR><A HREF=\"index.php?act=usercp\">(Click here if you do not wish to wait.)</A></CENTER>";
|
||||
|
||||
echo "<meta http-equiv=\"refresh\" content=\"5; url=index.php?act=usercp\">";
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user