Bug #18473 Updated: variable problem
| From: | derick@php.net | Date: | Mon, 22 Jul 2002 20:39:25 +0000 |
| Subject: | Bug #18473 Updated: variable problem | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-14794@lists.php.net to get a copy of this message | ||
ID: 18473
Updated by: derick@php.net
Reported By: chris@jynx.net
-Status: Open
+Status: Bogus
Bug Type: Unknown/Other Function
Operating System: Linux SMP 2.2.20 (slackware)
PHP Version: 4.2.1
New Comment:
In PHP 4.2.0, the 'register_globals' setting default changed to
be off. See http://www.php.net/release_4_2_0.php
for more info.
We are sorry about the inconvenience, but this change was a necessary
part of our efforts to make PHP scripting more secure and portable.
Previous Comments:
------------------------------------------------------------------------
[2002-07-22 16:38:45] chris@jynx.net
When compiling with these options.
./configure --prefix=/usr/local \
--with-apache=/usr/src/apache_1.3.26 \
--enable-exif \
--enable-track-vars \
--with-calendar=shared \
--enable-magic-quotes \
--enable-trans-sid \
--enable-wddx \
--enable-ftp \
--enable-inline-optimization \
--enable-memory-limit \
--with-gd="/usr/local" \
--with-zlib \
--enable-gd-native-tt \
--with-t1lib="/usr/local" \
--with-jpeg-dir="/usr" \
--with-png-dir="/usr/local" \
--with-zlib-dir="/usr/local" \
--with-ttf \
--with-freetype-dir="/usr/local" \
--with-snmp=/usr/local/snmp \
--with-openssl="/usr/local" \
--with-mysql \
All goes fine. But no variables will work. Not even static vars.
Example
<?
echo "<a href=\"page.php?test=testing\">";
?>
On page.php $test will = nothing. If i switch back to 4.1.2 and
restart apache, all is back to normal $test will = testing.
Tested with 4.1.2 with apache 1.3.26 (works fine)
and 4.2.1 with apache 1.3.26 (same problem as above)
and 4.2.2 with apache 1.3.26 (same problem as above)
There are no errors during the compile. No errors when the webserver is
serving.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18473&edit=1