unread
Hi,
is there any reason php://input is not supported in CLI sapi? It would be
nice to test raw post data reading in unittests without having to run them
inside a web server sapi and it's only a five-line patch making php://input
read from stdin in cli (attached).
- Timm
unread
Hi,
is there any reason php://input is not supported in CLI sapi? It would be
nice to test raw post data reading in unittests without having to run them
inside a web server sapi and it's only a five-line patch making php://input
read from stdin in cli (attached).
"POST DATA" is not relevant to CLI. While I understand what you are
trying to do, it feels like a hack.
I would suggest to work with "php://stdin" instead
--
Alexey Zakhlestin
http://www.milkfarmsoft.com/