php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20095 Variable problems
Submitted: 2002-10-25 13:56 UTC Modified: 2002-10-25 14:03 UTC
From: luishess at bbtur dot com dot br Assigned:
Status: Not a bug Package: Performance problem
PHP Version: 4.2.3 OS: Windows 98
Private report: No CVE-ID: None
 [2002-10-25 13:56 UTC] luishess at bbtur dot com dot br
The PHP 4.2.3 does not send value on script like bellow:
"<?php
if (isset($submit) && $submit=="yes")
{
     echo "Nome: $nome <br>";
     echo "seu nome j? foi inserido";

}else{

echo "<form action=estudo.php action=post>
      Nome: <input type=text name=nome><br>
      <input type=submit name=submit value=yes>";
}
?>"
I does not work in this version.
I had lots of time working trying to find the problem and I solve it when I installed older version of PHP.

Thanks
Lu?s Hess

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-25 14:03 UTC] derick@php.net
In PHP 4.2.0, the 'register_globals' setting default changed to
'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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 12:01:27 2024 UTC