[x] Anda belum terdaftar di forum kami. Klik REGISTER untuk melakukan registrasi. || Atau LOGIN di sini.
IF UNIKOM
Please login or register.

Login with username, password and session length
Advanced search  

News:

Universitas Komputer Indonesia is here

Author Topic: tanya Fatal error: Call to undefined function session_is_registered()  (Read 3299 times)

0 Members and 1 Guest are viewing this topic.

« on: June 27, 2013, 11:26:36 PM »

boy_gant

  • Baru Daftar
  • *
  • Reputation Power: 1
  • boy_gant belum punya pengaruh.
  • Offline Offline
  • Posts: 1

  • Aktivitas bulan ini
    0%
  • Lokasi: solo
kepada master php saya mohon bantuannya nh...
q punya syntak bgitu di jalanin muncul Call to undefined function session_is_registered()  yg salah di mnanya ya???
ini syntaknya :
<?php session_start();
if (session_is_registered('id'))
{
    $_SESSION['id'];
    $_SESSION['user'];
   
    ?>
    <html>
    <head>
        <title>Administrator</title>
        <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
        <style type="text/css">
        <!--
.style2 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    color: #000000;
}
        -->
        </style>
    </head>
    <body background="./img/background.jpg">
        <table border="0" width="100%" cellpadding="0" style="border-collapse: collapse">
            <!-- MSTableType="nolayout" -->
            <tr>
                <td background="img/bg_header.gif">
                <div align="center">
                    <table border="0" width="800" cellpadding="0" style="border-collapse: collapse">
                        <tr>
                            <td width="61"><img src="img/logo.png" width="106" height="108"></td>
                            <td width="721"><span class="style2">APLIKASI PENDATAAN SISWA</span>                              <? include "./include/banner.php"; ?></td>
                          <td width="10">&nbsp;</td>
                      </tr>
                    </table>
                </div>                </td>
            </tr>
            <tr>
                <td align="center" background="img/menu_bg.gif" height="15">
                <? include "menu.php"; ?></td>
            </tr>
            <tr>
                <td>
                <p align="center"></td>
            </tr>
            <tr>
                <td align="center">
                 <? include "isi.php"; ?>                </td>
            </tr>
            <tr>
              <td align="left"><table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td><div align="center"><tr>
                        <td colspan="1"><hr color="#000000"></td>
                    </tr></div></td>
                </tr>
                <tr>
                  <td><? include "./include/footer.php"; ?></td>
                </tr>
              </table></td>
          </tr>
            <tr>
                <td align="left">&nbsp;</td>
            </tr>
    </table>
        <p>&nbsp;</p>
    </body>
    </html>
<?php
}else{
    echo "<script> document.location.href='akses.php?go=session'; </script>";
}
?>
Logged

«Reply #1 on: February 09, 2018, 04:38:12 PM »

luhanme

  • TK
  • *
  • Reputation Power: 1
  • luhanme belum punya pengaruh.
  • Offline Offline
  • Posts: 3

  • Aktivitas bulan ini
    0%
  • Lokasi: jakarta
Logged

Pages: [1]
« previous next »
 

This site is hosted by VlexoFree Hosting

Page created in 0.131 seconds with 28 queries.