ScotlandPHP 2019


Please answer this simple SPAM challenge: max(seven, one)?
(Example: nine)

The Note You're Voting On

lphuberdeau at phpquebec dot org
14 years ago
Since HTTP_RAW_POST_DATA requires a configuration to be generated and is not enabled as a default value, you will probably have to use the PHP STDIN stream to get the raw data. It's probably better to use this method as the raw data will not be generated every time, even when not needed.

= fopen( "php://stdin", "r" );
$data = '';
while( !
feof( $fp ) )
$data .= fgets( $fp );
fclose( $fp );

<< Back to user notes page

To Top