Re: Bug #12325 Updated: Query_string not defined
| From: | teo at gecadsoftware dot com | Date: | Wed, 25 Jul 2001 09:28:54 +0000 |
| Subject: | Re: Bug #12325 Updated: Query_string not defined | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-60934@lists.php.net to get a copy of this message | ||
Hi danradigan!
On Tue, 24 Jul 2001, danradigan@yahoo.com wrote:
> ID: 12325
> User updated by: danradigan@yahoo.com
> Reported By: danradigan@yahoo.com
> Status: Feedback
> Bug Type: Unknown/Other Function
> Operating System: Win 2k
> PHP Version: 4.0.6
> New Comment:
>
> I think this is the relevant section:
well, how is your register_globals? If it's off, then that's it.
> However, since QUERY_STRING is a PHP variable, I think it should be defined as "" if
> there is no querystring specified.
>
>
> Previous Comments:
> ------------------------------------------------------------------------
>
> [2001-07-24 09:24:54] andy@php.net
>
> Can you include a copy of your php.ini file?
>
> ------------------------------------------------------------------------
>
> [2001-07-23 21:30:26] danradigan@yahoo.com
>
> Here is the code I am trying to run:
>
> if ($QUERY_STRING != "") {
> $insertFormAction .= "?" . $QUERY_STRING;
>
> When I call the page from the browser with no querystring I get:
>
> Warning: Undefined variable: QUERY_STRING in
> c:\inetpub\wwwroot\gabe\deleteParam.php on line 3
>
> This only reproduces when using the installer for windows
> from the download section at php.net. I cannot reproduce on
> Linux or OSX. Also I installed the zip version and cannot
> reproduce it. Only the installer.
>
-- teodor