osCmax v2.5 User Manual
Results 1 to 2 of 2

HELP ME! FUNCTION OF CLASS PHP3SESSION_USER IN SESSIONS.PHP

This is a discussion on HELP ME! FUNCTION OF CLASS PHP3SESSION_USER IN SESSIONS.PHP within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; function read($sess_id) { global $session; //? Need to find out/// //// WHERE IS THIS VARIABLE $SESSION DEFINES IN THE CODE ...

      
  1. #1
    Lurker
    Join Date
    Apr 2003
    Posts
    1
    Rep Power
    0


    Default HELP ME! FUNCTION OF CLASS PHP3SESSION_USER IN SESSIONS.PHP

    function read($sess_id) {
    global $session; //? Need to find out///
    ////
    WHERE IS THIS VARIABLE $SESSION DEFINES IN THE CODE
    PLEASE TELL ME. OR IF ANY OTHER DISTINCTION ABOUT THIS VARIABLE
    PLEASE TELL ME.
    ///

    // Open, read in, close file with session data
    $file = $session->save_path . '/sess_' . $sess_id;
    if (!file_exists($file)) {
    // Create it
    touch($file);
    }

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default

    There is no need to shout. FYI - All caps = Shouting . This is not nice

    I am no expert, but I believe $session is set by php.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

Similar Threads

  1. First Class Shipping error
    By acharme in forum osCMax v2 Features Discussion
    Replies: 1
    Last Post: 12-23-2006, 07:45 PM
  2. HELP - missing CSS class in HTML for BTS
    By mrego in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 11-24-2005, 10:49 AM
  3. Is this TableBox class correct?
    By loba in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 03-13-2005, 10:49 PM
  4. Help With Credit Class / Coupons
    By swrecruiter in forum osCMax v1.7 General Mods Discussion
    Replies: 1
    Last Post: 02-08-2004, 11:50 PM
  5. credit class and GV contribution
    By Dumb_Question in forum osCommerce 2.2 Modification Help
    Replies: 7
    Last Post: 08-02-2003, 07:03 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •