• 19-05-2014, 18:49:13
    #1
    Kimlik doğrulama veya yönetimden onay bekliyor.
    Fatal error: Call to undefined function session_register() in /home/plevnem/public_html/admin/logincontrol.php on line 3

    Bu hatayı alıyorum ne yapmam gerekiyor ?

    Bu logincontrol.php sayfasındaki kod.
    <?
    session_start();
    session_register("kullanici_adi");
    
    if (session_is_registered('kullanici_adi'))
    
    ?>
    <?php
    ini_set('error_reporting', E_ALL^E_NOTICE);
    include "../include/bag.php";
    ?>
    <?php
    if (empty($_POST['userr']) || empty($_POST['passs']))
        echo "
    	<table width='100%' border='0' cellspacing='0' cellpadding='0'>
      <tr>
        <td align='center'><table width='0' border='0' cellspacing='0' cellpadding='0'>
          <tr>
            <td><img src='img/mavi1.png' width='17' height='87'></td>
            <td background='img/mavi2.png'><a style='text-decoration:none' href=login.php><font face='tahoma' style='font-size:10pt; font-weight:700' color='#333333'>Lütfen Giriş Alanlarını Boş Bırakmayınız. TEKRAR DENEYIN</a></td>
            <td><img src='img/mavi3.png' width='24' height='87'></td>
          </tr>
        </table></td>
      </tr>
    </table>
    Buda ayarlar.php de ki kod.

    <?
    session_start();
    ini_set('error_reporting', E_ALL^E_NOTICE);
    if($_SESSION['kullanici_adi']!=true) {
    header ("Location:login.php");
    die("");
    }
    ?>
    <?php
    ini_set('error_reporting', E_ALL^E_NOTICE);
    ?>
    <?
    include "../include/bag.php";
    ?>
    <?php
    include'sayilar.php';
    include'func_open.php';
    include'../fonksiyon.php';
    ?>
  • 19-05-2014, 18:57:06
    #2
    Alıntı
    Bu işlevin kullanımı PHP 5.3.0'dan beri ÖNERİLMEMEKTEDİR ve PHP 6.0.0'da tamamen KALDIRILMIŞTIR. Bu işleve kesinlikle güvenmemelisiniz.
    Alıntı: http://www.php.net/manual/tr/functio...n-register.php
  • 19-05-2014, 19:09:18
    #3
    <?php
    ob_start();
    session_start();
    ini_set('error_reporting', E_ALL^E_NOTICE); 
    include "../include/bag.php";
    if(isset($_SESSION["kullanici_adi"]) ):
    ?> 
    <?php 
    if (empty($_POST['userr']) || empty($_POST['passs'])) 
        echo " 
        <table width='100%' border='0' cellspacing='0' cellpadding='0'> 
      <tr> 
        <td align='center'><table width='0' border='0' cellspacing='0' cellpadding='0'> 
          <tr> 
            <td><img src='img/mavi1.png' width='17' height='87'></td> 
            <td background='img/mavi2.png'><a style='text-decoration:none' href=login.php><font face='tahoma' style='font-size:10pt; font-weight:700' color='#333333'>Lütfen Giriş Alanlarını Boş Bırakmayınız. TEKRAR DENEYIN</a></td> 
            <td><img src='img/mavi3.png' width='24' height='87'></td> 
          </tr> 
        </table></td> 
      </tr> 
    </table>";
    endif;
    ?>
  • 19-05-2014, 22:08:19
    #4
    kingofseo adlı üyeden alıntı: mesajı görüntüle
    <?php
    ob_start();
    session_start();
    ini_set('error_reporting', E_ALL^E_NOTICE); 
    include "../include/bag.php";
    if(isset($_SESSION["kullanici_adi"]) ):
    ?> 
    <?php 
    if (empty($_POST['userr']) || empty($_POST['passs'])) 
        echo " 
        <table width='100%' border='0' cellspacing='0' cellpadding='0'> 
      <tr> 
        <td align='center'><table width='0' border='0' cellspacing='0' cellpadding='0'> 
          <tr> 
            <td><img src='img/mavi1.png' width='17' height='87'></td> 
            <td background='img/mavi2.png'><a style='text-decoration:none' href=login.php><font face='tahoma' style='font-size:10pt; font-weight:700' color='#333333'>Lütfen Giriş Alanlarını Boş Bırakmayınız. TEKRAR DENEYIN</a></td> 
            <td><img src='img/mavi3.png' width='24' height='87'></td> 
          </tr> 
        </table></td> 
      </tr> 
    </table>";
    endif;
    ?>
    Bu kodu koydum fakat beyaz sayfa oldu şimdi de
  • 19-05-2014, 22:35:10
    #5
    Shifty adlı üyeden alıntı: mesajı görüntüle
    Bu kodu koydum fakat beyaz sayfa oldu şimdi de
    Denermisin:
    <?php
    ob_start();
    session_start();
    ini_set('error_reporting', E_ALL^E_NOTICE); 
    include "../include/bag.php";
    if(!isset($_SESSION["kullanici_adi"]) ){
    if (empty($_POST['userr']) || empty($_POST['passs']) ){
    echo " 
    <table width='100%' border='0' cellspacing='0' cellpadding='0'> 
    <tr> 
    <td align='center'><table width='0' border='0' cellspacing='0' cellpadding='0'> 
    <tr> 
    <td><img src='img/mavi1.png' width='17' height='87'></td> 
    <td background='img/mavi2.png'><a style='text-decoration:none' href=login.php><font face='tahoma' style='font-size:10pt; font-weight:700' color='#333333'>Lütfen Giriş Alanlarını Boş Bırakmayınız. TEKRAR DENEYIN</a></td> 
    <td><img src='img/mavi3.png' width='24' height='87'></td> 
    </tr> 
    </table></td> 
    </tr> 
    </table";
    }
    }else{
    header("Location:index.php");
    exit();
    }
    ?>
  • 19-05-2014, 23:08:19
    #6
    kingofseo adlı üyeden alıntı: mesajı görüntüle
    Denermisin:
    <?php
    ob_start();
    session_start();
    ini_set('error_reporting', E_ALL^E_NOTICE); 
    include "../include/bag.php";
    if(!isset($_SESSION["kullanici_adi"]) ){
    if (empty($_POST['userr']) || empty($_POST['passs']) ){
    echo " 
    <table width='100%' border='0' cellspacing='0' cellpadding='0'> 
    <tr> 
    <td align='center'><table width='0' border='0' cellspacing='0' cellpadding='0'> 
    <tr> 
    <td><img src='img/mavi1.png' width='17' height='87'></td> 
    <td background='img/mavi2.png'><a style='text-decoration:none' href=login.php><font face='tahoma' style='font-size:10pt; font-weight:700' color='#333333'>Lütfen Giriş Alanlarını Boş Bırakmayınız. TEKRAR DENEYIN</a></td> 
    <td><img src='img/mavi3.png' width='24' height='87'></td> 
    </tr> 
    </table></td> 
    </tr> 
    </table";
    }
    }else{
    header("Location:index.php");
    exit();
    }
    ?>
    Olmadı tekrar beyaz sayfa çıktı.
  • 19-05-2014, 23:09:58
    #7
    Shifty adlı üyeden alıntı: mesajı görüntüle
    Olmadı tekrar beyaz sayfa çıktı.
    <?php
    ob_start();
    session_start();
    ini_set('error_reporting', E_ALL^E_NOTICE); 
    include "../include/bag.php";
    if (empty($_POST['userr']) || empty($_POST['passs']) ){
    echo " 
    <table width='100%' border='0' cellspacing='0' cellpadding='0'> 
    <tr> 
    <td align='center'><table width='0' border='0' cellspacing='0' cellpadding='0'> 
    <tr> 
    <td><img src='img/mavi1.png' width='17' height='87'></td> 
    <td background='img/mavi2.png'><a style='text-decoration:none' href=login.php><font face='tahoma' style='font-size:10pt; font-weight:700' color='#333333'>Lütfen Giris Alanlarini Bos Birakmayiniz. TEKRAR DENEYIN</a></td> 
    <td><img src='img/mavi3.png' width='24' height='87'></td> 
    </tr> 
    </table></td> 
    </tr> 
    </table";
    }
    ?>
  • 19-05-2014, 23:38:27
    #8
    kingofseo adlı üyeden alıntı: mesajı görüntüle
    <?php
    ob_start();
    session_start();
    ini_set('error_reporting', E_ALL^E_NOTICE); 
    include "../include/bag.php";
    if (empty($_POST['userr']) || empty($_POST['passs']) ){
    echo " 
    <table width='100%' border='0' cellspacing='0' cellpadding='0'> 
    <tr> 
    <td align='center'><table width='0' border='0' cellspacing='0' cellpadding='0'> 
    <tr> 
    <td><img src='img/mavi1.png' width='17' height='87'></td> 
    <td background='img/mavi2.png'><a style='text-decoration:none' href=login.php><font face='tahoma' style='font-size:10pt; font-weight:700' color='#333333'>Lütfen Giris Alanlarini Bos Birakmayiniz. TEKRAR DENEYIN</a></td> 
    <td><img src='img/mavi3.png' width='24' height='87'></td> 
    </tr> 
    </table></td> 
    </tr> 
    </table";
    }
    ?>
    Gene aynı oldu malesef, ftp versem yapabilirmisin üstadım ?