Voting

: seven plus two?
(Example: nine)

The Note You're Voting On

Anonymous
6 years ago
If you want to filter incoming data through php://input use this:

file_get_contents("php://filter/read=string.strip_tags/resource=php://input");

I couldn't find any documentation to explain how to do this. All the examples I came across suggested that a full and actual URL had to be used (which didn't work for me).

This seems to work though.

<< Back to user notes page

To Top