Thanks Justin. You're a lifesaver.

Here's the solution to the problem:

In /amfphp/gateway.php, i added these 3 lines:

if (!isset($HTTP_RAW_POST_DATA)){
$HTTP_RAW_POST_DATA = file_get_contents('php://input');
}


/Peter





-----Ursprungligt meddelande-----
Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För
justin randell
Skickat: den 12 maj 2007 01:58
Till: Open Source Flash Mailing List
Ämne: Re: [osflash] Strange amfPHP problem

hi,

> My site, www.deodorant.se, that uses amfphp flash remoting has suddenly
> stopped working yesterday.
>
> I found out that the web host updated the PHP version to 5.2.2 and the
MySQL
> to 4.1.

it seems that php 5.2.2 introduced a regression with the handling of
HTTP_RAW_POST_DATA.

http://news.php.net/php.internals/29103
http://news.php.net/php.internals/29202
http://bugs.php.net/bug.php?id=41293

> Any ideas what could be wrong and what i should do to make it work again?

the bugs.php.net link has some workarounds that might work for you.

hope that helps,
justin

_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org



_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to