Thanks, I see your point now. I like the solution 2, even though it is a bit ugly.
Sterling Hughes wrote: >On Wed, 2002-10-16 at 05:35, Chris Shiflett wrote: > > >>Is the thought here that no one will be depending on the weird format of >>the $_REQUEST array as mentioned in the bug report? If we're worried >>about BC, I don't see why we should favor one group of people (those >>using $_FILES) over another (those using $_REQUEST), unless I'm missing >>something ... >> >> >> >Simply because you really couldn't use $_REQUEST to access the files >array in the past, at least not without risking some dangerous >things/messed up results. The idea is while we can't normalize the >source, we _must_ normalize it when it seeps into other parts of php. > -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php