Gönderen Konu: Aadvark Toplist te şifre değiştirme  (Okunma sayısı 2967 defa)

0 Üye ve 1 Ziyaretçi konuyu incelemekte.

Çevrimdışı gencler

  • İleti: 155
  • Puan: 3
  • Cinsiyet: Bay
    • Gençler Lpg Aletleri
Aadvark Toplist te şifre değiştirme
« : Temmuz 17, 2007, 19:44:52 ÖS »
Şifremizi değiştirmek mümkünmü Çünkü admin sayfasına girince sadece şifre butonuyla karşılaşılmaktadır.Güvenlik açısından arasıra şifre değiştirmek istediğimizde nereden değiştirebiliriz.Selamlar

Çevrimdışı AdmiN

  • Genel Sorumlu
  • Administrator
  • *
  • İleti: 7976
  • Puan: 750
  • Cinsiyet: Bay
  • ~|| Bilginin Gücü ||~
    • Kişisel Web Sitem
-Aadvark Toplist te şifre değiştirme
« Yanıtla #1 : Temmuz 17, 2007, 22:21:49 ÖS »
Bunun için bir modül var. Buradan indirebilirsin.Buna benzer diğer modülleri de dosyalar bölümünde bulabilirsin.

Çevrimdışı sefaat

  • İleti: 1
  • Puan: 0
-Aadvark Toplist te şifre değiştirme
« Yanıtla #2 : Kasım 16, 2007, 19:51:00 ÖS »
iyi ama hocam nasıl olacak hata verıyor


Fatal error: Cannot instantiate non-existent class: sql in C:\Inetpub\vhosts\site...com\httpdocs\toplist\admin_password.php on line 42

bu ne demek acaba ?

Çevrimdışı bilgicagi

  • Süper Moderatör
  • *
  • İleti: 172
  • Puan: 82
  • Cinsiyet: Bay
    • Bilgi Çağı Portal
-Aadvark Toplist te şifre değiştirme
« Yanıtla #3 : Kasım 16, 2007, 22:37:23 ÖS »
admin_password.php  dosyasının çalışan hali, sorun olursa yazın.

Kod: [Seç]
<?php
//===========================================================================\\
// Change Admin Password 1.0.1                                               \\
// Aardvark Topsites PHP 5                                                   \\
// Copyright (c) 2006 Jeremy Scheff.  All rights reserved.                   \\
//---------------------------------------------------------------------------\\
// http://www.aardvarktopsitesphp.com/                http://www.avatic.com/ \\
//---------------------------------------------------------------------------\\
// This program is free software; you can redistribute it and/or modify it   \\
// under the terms of the GNU General Public License as published by the     \\
// Free Software Foundation; either version 2 of the License, or (at your    \\
// option) any later version.                                                \\
//                                                                           \\
// This program is distributed in the hope that it will be useful, but       \\
// WITHOUT ANY WARRANTY; without even the implied warranty of                \\
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General \\
// Public License for more details.                                          \\
//===========================================================================\\

define('ATSPHP'1);

if (!isset(
$_POST['password']) || !$_POST['password']) {
?>

<p>This script will reset the password for Aardvark Topsites PHP.  You must upload this file to the same folder that you installed your topsites in.</p>
<form action="admin_password.php" method="post">
<label>
New Admin Password:
<input type="password" size="20" name="password" />
<input type="submit" value="Set Admin Password" />
</label>
</form>
<?php
}
else {
  
// Change the path to your full path if necessary
  
$CONF['path'] = '.';

  
// Connect to the database
  // Set the last argument of $DB->connect to 1 to enable debug mode
  
require_once("{$CONF['path']}/settings_sql.php");
  require_once(
"{$CONF['path']}/sources/sql/{$CONF['sql']}.php");
  
$DB = new sql;
  
$DB->connect($CONF['sql_host'], $CONF['sql_username'], $CONF['sql_password'], $CONF['sql_database']);

  
$password md5($_POST['password']);

  
$DB->query("UPDATE {$CONF['sql_prefix']}_etc SET admin_password = '$password'"__FILE____LINE__);
?>

<p>Your password has been updated.  <b>Delete this file now or anyone who finds it will be able to change your password.</b></p>
<p><a href="index.php?a=admin">Login</a></p>
<?php
}
?>
Bilgi Çağı Portal & www.bilgicagi.net

 

Benzer Konular

  Konu / Başlatan Yanıt Son İleti
29 Yanıt
9543 Gösterim
Son İleti Temmuz 07, 2007, 10:28:09 ÖÖ
Gönderen: AdmiN
4 Yanıt
3492 Gösterim
Son İleti Eylül 08, 2009, 15:47:34 ÖS
Gönderen: bunebe
18 Yanıt
6305 Gösterim
Son İleti Ağustos 10, 2007, 09:11:10 ÖÖ
Gönderen: AdmiN
3 Yanıt
2549 Gösterim
Son İleti Temmuz 21, 2008, 14:50:02 ÖS
Gönderen: burajan
0 Yanıt
2142 Gösterim
Son İleti Ağustos 27, 2008, 10:39:27 ÖÖ
Gönderen: AdmiN