Re: Re: PHP 4.0 Bug #7742 Updated: Forms not working with php 4.0.3p1 (windows NT)
| From: | chrisv at b0rked dot dhs dot org | Date: | Fri, 10 Nov 2000 13:02:55 +0000 |
| Subject: | Re: Re: PHP 4.0 Bug #7742 Updated: Forms not working with php 4.0.3p1 (windows NT) | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-37678@lists.php.net to get a copy of this message | ||
What is the setting of 'variables_order' or 'gpc_order' in php.ini? If
'G'
isn't in either one of those, variables in a query string won't be placed
into the global environment -- instead try this:
<? print $HTTP_GET_VARS["username"]; ?>
Chris
On Fri, 10 Nov 2000 paul.d.rowlands@delphiauto.com wrote:
>
>
> Support,
>
> I added phpinfo into the code and generated this :
>
> (See attached file: info.gif)
>
> You can see from the get that the info is in the url name.
> But the variable is not displayed within the web page.
>
> The info however shows the data.
>
> (See attached file: info2.gif)
>
> What could be going wrong ?
>
>
>
>
>
>
>
> Bug Database <php-dev@lists.php.net> on 10/11/2000 10:54:47
>
>
> To: Paul D Rowlands/GB/DELCO@DELCO
> cc:
>
> Subject: PHP 4.0 Bug #7742 Updated: Forms not working with php 4.0.3p1 (windows
> NT)
>
>
>
> ID: 7742
> Updated by: hholzgra
> Reported By: paul.d.rowlands@delphiauto.com
> Status: Feedback
> Bug Type: *Function Specific
> Assigned To:
> Comments:
>
> please add a phpinfo() after 'print $username;' and have a look at
>
> - the configuration values for register_globals under
> Configuration -> PHP Core
>
> - HTTP_GET_VARS["username"] in the Variables section near
> the end of output
>
> Previous Comments:
> ---------------------------------------------------------------------------
>
> [2000-11-10 05:41:59] paul.d.rowlands@delphiauto.com
> The following code does not work with php 4.0.3p1 under windows NT 4.
> Username has no data.
> I tried it with php3 under linux no problems.
>
> <html>
> <form>
> Please type your name here:<br>
> <input TYPE=text NAME=username><br><br>
> <input TYPE=Submit VALUE="Take a Look">
> </form>
> <br>
> YOU TYPED:
> <?php
> print $username;
> ?>
> </html>
>
> ---------------------------------------------------------------------------
>
>
> Full Bug description available at: http://bugs.php.net/?id=7742
>
>
>
>
>
> Received: from ahmlir3.mail.eds.com ([205.191.24.43]) by
> usabhmg98.mail.delphiauto.com (Lotus SMTP MTA v4.6.5 (863.2 5-20-1999)) with
> SMTP id 05256993.003C7CF6; Fri, 10 Nov 2000 06:00:41 -0500
> Received: from ahmlir3.mail.eds.com (localhost [127.0.0.1])
> by ahmlir3.mail.eds.com (8.11.0/8.11.0) with ESMTP id eAAB0sJ16614
> for <paul.d.rowlands@delphiauto.com>; Fri, 10 Nov 2000 06:00:54 -0500 (EST)
>
> Received: from ahmler2.mail.eds.com (ahmler2.mail.eds.com [192.85.154.72] (may
> be forged))
> by ahmlir3.mail.eds.com (8.11.0/8.11.0) with ESMTP id eAAAtIU13492
> for <paul.d.rowlands@delphiauto.com>; Fri, 10 Nov 2000 05:55:18 -0500 (EST)
>
> Received: from php2.chek.com (IDENT:qmailr@[208.247.106.187])
> by ahmler2.mail.eds.com (8.11.1/8.11.1) with SMTP id eAAAqj516936
> for <paul.d.rowlands@delphiauto.com>; Fri, 10 Nov 2000 05:52:45 -0500
> Received: (qmail 22542 invoked by uid 99); 10 Nov 2000 10:54:47 -0000
> Date: 10 Nov 2000 10:54:47 -0000
> Message-ID: <20001110105447.22541.qmail@php2.chek.com>
> To: paul.d.rowlands@delphiauto.com
> Subject: PHP 4.0 Bug #7742 Updated: Forms not working with php 4.0.3p1 (windows
> NT)
> From: Bug Database <php-dev@lists.php.net>
>
>
> |--------------------------------------->
> |usabhmg98/g/server/delphiauto |
> |usabhh99/us/delphiauto |
> |USKOKHM1/DELCO |
> |USKOKH01/DELCO |
> |GBLI1NOTES01/GB/DELCO |
> |--------------------------------------->
> >---------------------------------------|
> |10/11/2000 11:01:10 - 10/11/2000 |
> |11:01:11 |
> |10/11/2000 11:01:13 - 10/11/2000 |
> |11:18:34 |
> |10/11/2000 11:18:33 - 10/11/2000 |
> |11:18:34 |
> |10/11/2000 11:18:33 - 10/11/2000 |
> |11:19:09 |
> |10/11/2000 11:21:29 - 10/11/2000 |
> |11:21:30 |
> >---------------------------------------|
>
>
>
>
>
>
>
> Regards
>
> Paul Rowlands
> Project Engineer
> Hybrid Dept
> Delphi Delco Electronic Systems
> Liverpool
>
> Internet address: paul.d.rowlands@delphiauto.com
>