I need to check if php://input exists/isset. Does it work with php isset() ? What is the proper way to check it?
php://input
Suppose you are getting user input from a POST request you can check if it's a set like this
if(isset($_POST['var_name'])) { //for additional checking like if it's not empty do this if(!empty($_POST['var_name'])) { //Do whatever you want here } }