Re: Re: $_POST getting lost, $GLOBALS['HTTP_RAW_POST_DATA']isstill set
| From: | Joshua Beall | Date: | Fri, 13 Feb 2004 17:51:23 +0000 |
| Subject: | Re: Re: $_POST getting lost, $GLOBALS['HTTP_RAW_POST_DATA']isstill set | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-177622@lists.php.net to get a copy of this message | ||
"Adam Bregenzer" <adam@bregenzer.net> wrote in message
news:1076693765.2412.14.camel@arcon...
> Honestly, I didn't see anything glaringly wrong so I deftly skirted your
> problem by posting code that I find works. :)
Hmm, I would probably have done the same :-)
> One part that may be an issue is you are using each() on $data then
> re-assigning the stripped code to $data, maybe that is exposing some
> bug/issue with php? Try making a new array by assigning the stripped
> output to $data2 and returning $data2, maybe that will solve it.
Interesting idea. The only problem is testing it... since it seems to work
fine for me except for this one error report I got, I am not sure what to
do.
Guess it is worth a shot to change it anyway. Could not hurt, right? And
assuming garbage collection works ok in PHP, it should not be really be a
memory hit, since both $data and $data2 should both be reclaimed when they
go out of scope.