Re: PHP Test results
| From: | derick@php.net | Date: | Thu, 18 Apr 2002 20:23:40 +0000 |
| Subject: | Re: PHP Test results | ||
| References: | 1 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-5180@lists.php.net to get a copy of this message | ||
Hello,
this is not a bug, or problem in PHP. It has to do with register_globals
being off by default in 4.2.0. If you use if (isset ($_POST['gesended']))
{ it should work fine (or $_GEt if you used the get method).
Derick
On 18 Apr 2002 noreply@php.net wrote:
> array (
> 'user_name' => 'Skully',
> 'email' => 'skully@gmx.ch',
> 'package' => '4.2.0-RC4',
> 'testcase' => '0',
> 'status' => 'Minor Problems',
> 'os' => 'Windows NT/2K',
> 'sapi' => 'Apache 1.3.x DSO',
> 'automake' => '1.4',
> 'autoconf' => '2.5.2',
> 'libtool' => '1.4.0',
> 'bison' => '1.2.8',
> 'test' => '
>
> <?
> if (isset ($gesendet))
> {
>
> code
>
> }
> ?>
> .
> .
> .
> .
> <form......>
> .
> .
> .
> .
> <input type=\"submit\" name=\"gesendet\"
> value=\"send\">
> <input type=\"reset\" name=\"loeschen\"
> value=\"delete\">
> </p>
> </form>',
> 'problems' => 'Hi ! The code does not function with the newest version of
> PHP. PHP does not recognize the variable \"$gesendet\". I had controlled the script
> repeatedly, not found, however, any mistake. The variable was never recognized. When I fitted the
> version 4.1.2 then, the script immediately functioned.',
> 'bugids' => '',
> 'remarks' => '',
> )
>
> --
> PHP Quality Assurance Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
>
-----------------------------------------------------------------------
Did I help you? Consider a gift:
http://www.amazon.co.uk/exec/obidos/registry/SLCB276UZU8B
-----------------------------------------------------------------------
PHP: Scripting the Web - derick@php.net
All your branches are belong to me!
SRM: Script Running Machine - www.vl-srm.net
-----------------------------------------------------------------------