httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ray Van Dolson <>
Subject Re: [users@httpd] Stupid Apache PHP / URL variable question
Date Tue, 21 Dec 2004 15:42:42 GMT
You really should rewrite your scripts to access these variables using the
$_GET, $_POST or $_REQUEST arrays... if that's not an option, set
register_globals = On in your php.ini file.

You can also set this on a per directory basis inside a <Directory> block,
.htaccess file, et al...


On Tue, Dec 21, 2004 at 09:17:54AM -0600, RON FLORY wrote:
> hi-
>  I'm migrating a users PHP script from old Apache 1.3.22 to Apache 2.0.52 (x86
> Fedora Core 3). Almost everyting works (including mysql access), except for
> the simplest, dumbest thing- I can't seem to pass simple variables via the
> URL:
>  For example:
>     http://valen2/~ta4303/index.php?firmtype=1
>  sets the variable "firmtype" to 1 on old Apache/PHP, but the variable is
> unset under new Apache/PHP.
>  This must be obvious to somebody- any ideas?
> ron

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message