ID: 28585 Updated by: [EMAIL PROTECTED] Reported By: troublegum at woltlab dot de -Status: Open +Status: Feedback -Bug Type: Scripting Engine problem +Bug Type: CGI related Operating System: Linux PHP Version: 4.3.6 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Previous Comments: ------------------------------------------------------------------------ [2004-05-31 01:23:25] troublegum at woltlab dot de Description: ------------ An Query String with "=" at the end deletes all other GET variables (empty $_GET array). Seems to be related to the following bugs, but as far as I can see this server does not run Apache2 and suPHP (?). http://bugs.php.net/bug.php?id=27740 http://bugs.php.net/bug.php?id=27861 --- './configure' '--prefix=/opt/php-4.3.6' '--enable-bcmath' '--with-bz2' '--enable-force-cgi-redirect' '--enable-fastcgi' '--enable-discard-path' '--with-layout=GNU' '--with-config-file-path=/opt/php-4.3.6/etc' '--enable-calendar' '--with-curl' '--with-curlwrappers' '--enable-dbase' '--enable-ftp' '--with-gettext' '-enable-exif' '--with-gd' '--with-imap=/opt/imap-2004' '--with-imap-ssl=/usr' '--with-mime-magic' '--with-mysql' '--with-ncurses' '--with-openssl=/usr' '--with-zip' '--with-zlib' '--enable-dba=shared' '--with-db4' '--with-mssql' --- Server API: CGI/FastCGI magic_quotes_gpc = On register_argc_argv = On register_globals = On variables_order = EGPCS --- This problem occured on three of our client's server. I can provide the complete output of phpinfo() if needed. --- Reproduce code: --------------- Open get.php?key=val&foo= in your browser. Notice the "=" at the end. -- get.php -- <?php var_dump($_GET); ?> Expected result: ---------------- array(2) { ["key"]=> string(3) "val" ["foo"]=> string(0) "" } Actual result: -------------- array(0) { } ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=28585&edit=1
