HTTP PUT, DELETE and I/O streams with PHP
Is there any way I can access data that was sent via HTTP PUT method other than $putdata = fopen("php://input", "r"); ? I have never worked with PUT and DELETE methods and $putdata = fopen("php://input", "r"); seems a bit sketchy. Will it work everywhere is a specific server/php.ini configuration required? I know that I can get the request method from $_SERVER['REQUEST_METHOD']; But will the data be in $_REQUEST , if yes then what php://input is about? And how do I access data that was sent via DELETE ? No, you will need to parse the request manually. $_REQUEST only contains data coming from