php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #33761 missing variable on textarea when var_name==prog.php_name
Submitted: 2005-07-19 03:52 UTC Modified: 2005-07-19 04:17 UTC
From: agradaw at yahoo dot es Assigned:
Status: Not a bug Package: Variables related
PHP Version: 4.3.11 OS: Conectiva linux 9
Private report: No CVE-ID: None
 [2005-07-19 03:52 UTC] agradaw at yahoo dot es
Description:
------------
missing variable on textarea when var_name==prog.php_name.

When use variable name on my form same:
   <input type=textarea name=sugiere></textarea>
and that are send to same program of name:
    sugiere.php

The comming variable $sugiere don't have a text, that appears with lenght=0 and content not exist.

I suppose a new rule exist or define:

 * Never send variable name's with same name of the target program (rutine or process), in the case or forms use.

*SORRY: My english is poor, i'm from Oruro, Bolivia in south america and don't have practice in write english mail, but read very good. Thanks.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-07-19 04:17 UTC] rasmus@php.net
No chance, there is no such correlation.  The PHP script doesn't care what it is called.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 09:01:29 2024 UTC