Hi, all,
I’m having some trouble doing something with a zencart 1.3.9 site, although the scope of the problem is not specific or related to ZC’s software.
I won’t get into the exact specifics, but I am basically trying to set a variable from one php file (that is not part of ZC) so that it can be checked from html_header.php (where I’ve added code that needs this flag to work), which is a file included in all output by zencart.
The problem seems to be that my attempts to use a (new, unique) session variable for this ($_SESSION[‘blah’] = true) are interfering with ZC’s use of $
So where can I put a global so that ZC will leave it alone? I think the application start module called from index.php cleans out $_SESSION, $
TIA,
Fred