Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 01/18/2020 in all areas

  1. I know it sounds like a fun project to emulate something that already exists. But - just exactly why do you think it necessary? There is already a $_SESSION array (RTFM) and the ability to make specific local vars global for your entire script (see 'global') . So what design of yours is going to need your own new version of this? Besides - good programming practice does not include making everything globally available.
    1 point
  2. You can't just copy code and necessarily expect it to work. You need to understand the code presented and then implement your own.
    1 point
  3. Don't use $GLOBALS. Forget it exists. There is never a good reason to use it. Pretend you never saw it.
    1 point
This leaderboard is set to New York/GMT-04:00
×
×
  • 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.