From:             theo at crazygreek dot co dot uk
Operating system: Linux
PHP version:      5.0.5
PHP Bug Type:     Feature/Change Request
Bug description:  Unable to access *original* posted variable name with dot in

Description:
------------
PHP automagically converts the '.' char in POST/GET field names to '_'. 
While i am fully aware as to why it does it, there is are a number
arguments for being able to turn off this 'feature':

 (a) There is no way to change a field name 'animal.moo_cows'
     back to it's original form other than manually parsing
     the POST/GET data.

 (b) For those silly enough to be using register globals, 
     $moo.cows may not be a valid variable - but then 
     neither is $moo:cows, or $moo!cows, yet : and ! are not 
     converted into underscores. where is the logic in that?

Having a ini setting or some such to be able to turn off this rather
messed up behaviour would be very useful.


-- 
Edit bug report at http://bugs.php.net/?id=34882&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=34882&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=34882&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=34882&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=34882&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=34882&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=34882&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=34882&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=34882&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=34882&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=34882&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=34882&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=34882&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=34882&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=34882&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=34882&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=34882&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=34882&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=34882&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=34882&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=34882&r=mysqlcfg

Reply via email to