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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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); } |
| Sponsored Links | ||
| ||
| |
|
#2
| ||||
| ||||
| 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
|
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| First Class Shipping error | acharme | osCMax v2 Features Discussion | 1 | 12-23-2006 08:45 PM |
| HELP - missing CSS class in HTML for BTS | mrego | osCMax v2 Customization/Mods | 1 | 11-24-2005 11:49 AM |
| Is this TableBox class correct? | loba | osCMax v1.7 Discussion | 0 | 03-13-2005 11:49 PM |
| Help With Credit Class / Coupons | swrecruiter | osCMax v1.7 General Mods Discussion | 1 | 02-09-2004 12:50 AM |
| credit class and GV contribution | Dumb_Question | osCommerce 2.2 Modification Help | 7 | 08-02-2003 08:03 AM |