Jump to content

please help!


onthespot

Recommended Posts

<?
/**
*
*
*
*
*
*
*
*/
include("constants.php");
     
class MySQLDB
{
  var $connection;        //The MySQL database connection
  var $num_active_users;  //Number of active users viewing site
  var $num_active_guests;  //Number of active guests viewing site
  var $num_members;        //Number of signed-up users


that is the code for database.php up until line 18 m8
Link to comment
https://forums.phpfreaks.com/topic/17368-please-help/#findComment-73865
Share on other sites

<?
include("include/session.php");
?>

that is on all the pages and the problem is on all pages !

then the code in session.php is

<?
class Session
{
  var $username;    //Username given on sign-up
  var $userid;      //Random value generated on current login
  var $userlevel;    //The level to which the user pertains
  var $time;        //Time user was last active (page loaded)
  var $logged_in;    //True if user is logged in, false otherwise
  var $userinfo = array();  //The array holding all user info
  var $url;          //The page url current being viewed
  var $referrer;    //Last recorded site page viewed
?>
Link to comment
https://forums.phpfreaks.com/topic/17368-please-help/#findComment-73873
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.