Reply to Re: 5.2.2 and POST data change?

Your name:

Reply:


Posted by Tom Harrington on 05/15/07 19:22

In article <f2cue8$mlr$1@nyytiset.pp.htv.fi>,
Rami Elomaa <rami.elomaa@gmail.com> wrote:

> Tom Harrington kirjoitti:
> > My web host updated yesterday from PHP 5.1.1 to 5.2.2, and one of my
> > scripts immediately broke, although the 5.2.2 release notes don't seem
> > to indicate I should have a problem.
> >
> > The script relied on having $HTTP_RAW_POST_DATA set. Starting yesterday
> > it's always an empty string.
> >
> > I guessed that my web host had changed the setting of the
> > always_populate_raw_post_data flag. However they assure me that their
> > php.ini did not change with the update.
> >
> > What would have caused this change? I've been using the script for
> > months without trouble, so having it die on the same day as the 5.2.2
> > update doesn't seem like it could be a coincidence.
> >
> > I've worked around the problem by using
> > file_get_contents("php://input"), but I'd really like to understand why
> > my script suddenly broke with this udpate.
> >
>
> Check it out, it's a bug:
> http://bugs.php.net/bug.php?id=41293

Ooohhh, thanks. Fortunately php://input seems to be working for me.

--
Tom "Tom" Harrington
MondoMouse makes your mouse mightier
See http://www.atomicbird.com/mondomouse/

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация