Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我一直在与 Zen Cart 安装文件夹不同的文件夹中使用 $_SESSION 变量。当我在任何文件中设置 $_SESSION 文件夹并尝试在 Zen 购物车的 EZ Pages 中访问它时,我什么也得不到。
这个问题有什么解决办法吗?
如果您使用的文件夹与安装 Zen Cart 的文件夹不同,那么您可能不会写入 Zen Cart 存储其会话数据的会话。
Zen Cart 非常安全,并且可以很好地锁定以保护其持有的数据。要访问它,您的代码需要包含 Zen Cart 的 application_top 文件。但是,从 Zen Cart 包含文件夹之外几乎不可能做到这一点。
I want to get all my that's inside . I wrote this code:
matchObj = re.search(r'<tr>(.*?)</tr>', txt, re.M|re.I|re.S)
but I only get the first group.