Location: PHPKode > projects > Akasha > akasha/folder_modify.php
<?

if ($akashaID == $ID) {
	include ("includes/global.inc"); 						// Global Variables
	include ("includes/functions.inc"); 				// Global Functions

	$user_id = findUserByHash($ID);

	$auth_user=1000;
	$auth_user = getUserIDMbox($mbox_id);
	$user_id = findUserByHash($ID);
	if ($user_id != $auth_user) {
		Header("Location: main.php?error_code=1");		
	}

  $query = "update tblMailBoxes set mboxname='$txtisim' where user_id = $user_id and mbox_id=$mbox_id";
  $result = mysql_db_query("$dbname",$query);
	Header("Location: folders.php?ID=$ID&giris=1");
} else {
		Header("Location: main.php?error_code=1");
}

?>
Return current item: Akasha