Voting

: two minus zero?
(Example: nine)

The Note You're Voting On

fabacrans__ at __nospamhotmail__ dot __com
11 years ago
You can use "php://input" to accept and parse "PUT", "DELETE", etc. requests.

<?php
// Example to parse "PUT" requests
parse_str(file_get_contents('php://input'), $_PUT);

// The result
print_r($_PUT);
?>

(very useful for Restful API)

<< Back to user notes page

To Top