[SabreAMF] Improvement of a code

Evert | Rooftop evert at rooftopsolutions.nl
Fri Feb 16 10:26:29 EST 2007


Hi Develar,

I remembered I read somewhere fopen would be faster than 
file_get_contents, however I did a quick google and it seems like its 
the other way around..

I'm fixing this now on SVN, thanks

Evert

Develar wrote:
> Server.php on line 62
>
> $handle = fopen('php://input','r');
>             $data='';
> while(!feof($handle)) {
>                 $data.=fread($handle,4096);
>             }
>
> replace
>
> $data = file_get_contents('php://input')
>
> _______________________________________________
> sabreamf mailing list
> sabreamf at osflash.org
> http://osflash.org/mailman/listinfo/sabreamf_osflash.org
>   




More information about the sabreamf mailing list