I have a little PHP script that reads from php://input. With my command line I can run the script but I don't know how to "fill" the php://input.
I tryed using php file.php < my_test_data but it fills the php://stdin not the php://input
The script could be summarized in this:
<?php echo file_get_contents('php://input'); ?>
php://inputtakes its data from$_POSTrequest (which you won't be able to fill in the command line - unless you do real requests with something likewgetorcurl).