[olug] Apache/PHP setup problem
Mike Hostetler
thehaas at binary.net
Thu Nov 14 21:51:02 UTC 2002
>
> I found this though:
> Since PHP 4.2.0 the register_globals option is by default turned OFF, which
> disables the creation of variables in the global scope matching the parameters
> in GET queries, POST data, cookies etc.
>
> The correct way to get these values is through the $_GET, $_POST and $_COOKIE
> associative arrays. They are available from PHP 4.1.0, and register_globals
> was disabled (by default - it can still be turned on) at 4.2.0.
>
Ryan -- I owe you a beer, or something. It's working like a champ now.
<rant>
While I agree with the theory of what the default PHP config is trying to
do, setting that as a default breaks PHP apps that you download
(like phpPgAdmin).
</rant>
More information about the OLUG
mailing list