X7chat1 3 6 > X7Chat V1.3.6B / AuthMod / Md5.php

Questions? Need Help? Want to share? » PHP Forum
Script Name:
X7chat1 3 6

Download:
x7chat1-3-6.zip

Category:
Chat Scripts

Archive Content:

X7Chat V1.3.6B

X7Chat V1.3.6B > Logs

X7Chat V1.3.6B > AuthMod

X7Chat V1.3.6B > Sounds

X7Chat V1.3.6B > Language

X7Chat V1.3.6B > Lib

X7Chat V1.3.6B > Images

X7Chat V1.3.6B > Images > Smiley

X7Chat V1.3.6B > Images

X7Chat V1.3.6B > Frames

X7Chat V1.3.6B > Docs

X7Chat V1.3.6B > Docs > Install.PhpBB2

X7Chat V1.3.6B > Docs > Install.PhpNuke

X7Chat V1.3.6B > Docs > Install.Invision

X7Chat V1.3.6B > Docs > Install.XMB

X7Chat V1.3.6B > Docs > Install.YabbSe

X7Chat V1.3.6B > Docs

X7Chat V1.3.6B > Docs > Install.Xoops

X7Chat V1.3.6B > Docs > Lng.Russian

X7Chat V1.3.6B > Docs > Lng.Slovak

X7Chat V1.3.6B > Docs > Install.PostNuke

X7Chat V1.3.6B > Docs > Install.Xaraya

X7Chat V1.3.6B > Docs > Install.Xaraya > Xaruser

X7Chat V1.3.6B > Docs > Install.Xaraya

X7Chat V1.3.6B > Docs > Install.InvisionBoard2

X7Chat V1.3.6B

Md5.php:


<?
/////////////////////////////////////////////////////////////// 
//                                                              //
//        X7 Chat Version 1.3.0 Beta                                //          
//        Released February 2,  2004                              //
//        Copyright (c) 2004 By the X7 Group                     //
//        Website: http://www.x7chat.com                          //
//                                                                //
//        This program is free software.  You may                  //
//        modify and/or redistribute it under the                 //
//        terms of the included license as written             //
//        and published by the X7 Group.                         //
//                                                                //
//        By using this software you agree to the                 //
//        terms and conditions set forth in the                 //
//        enclosed file "license.txt".  If you did              //
//        not recieve the file "license.txt" please             //
//        visist our website and obtain an official             // 
//        copy of X7 Chat.                                        //
//                                                             //
//        Removing this copyright and/or any other             //
//        X7 Group or X7 chat copyright from any                 //
//        of the files included in this distribution           //
//        is forbidden and doing so will terminate             //
//        your right to use this software.                      //
//                                                              //
/////////////////////////////////////////////////////////////// 

function doXEncrypt($password){
    
$password md5($password);
    return 
$password;
}

function 
changePass($password, $username){
    global 
$SERVER;
    
$password doXEncrypt($password);
    
DoQuery("UPDATE $SERVER[TBL_PREFIX]users SET password='$password' WHERE username='$username'");
    echo 
mysql_error();
}

function 
getPass($username){
    global 
$SERVER;
    
$q DoQuery("SELECT password FROM $SERVER[TBL_PREFIX]users WHERE username='$username'");
    
$pass Do_Fetch_Row($q);
    return 
$pass[0];
}
// Some Configuration Stuff
$AUTH['CAN_REG'] = 1;
$AUTH['REG_NOTICE_HEADER'] = "Please Register Elsewhere";
$AUTH['REG_NOTICE'] = "You must be registered to use this feature";
$AUTH['COOKIE_USERNAME'] = "X2CHATU";
$AUTH['COOKIE_PASSWORD'] = "X2CHATP";

$changevars['UE'] = 0;

?> 



Other Chat Scripts Scripts:

WebMaster Resources Home

©RingsWorld.com