Voting

Please answer this simple SPAM challenge: two plus two?
(Example: nine)

The Note You're Voting On

lphuberdeau at phpquebec dot org
12 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.

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

<< Back to user notes page

To Top