RE: [PHP-INST] Problem
| From: | Stembridge, Michael | Date: | Thu, 27 Mar 2003 18:15:20 +0000 |
| Subject: | RE: [PHP-INST] Problem | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-10439@lists.php.net to get a copy of this message | ||
Oops, forgot about register globals.
I'll just add that register globals can't be changed with ini_set(); It has
to be done in the php.ini config file (and Apache must be restarted).
If this is a site open to the general public it's a good idea to not turn
globals on, and to use the example Rich provided below. All this is
documented in the page below (with more or less verbosity).
- Mike
> From v4.2.x register_globals is switched off by default ...
> use $_GET['var']
> in this case
>
> http://www.php.net/manual/en/security.registerglobals.php
>
> Rich