How do you ensure early enough in the PHP request pipeline the verb is POST and deny others?
This should work:
if ($_SERVER['REQUEST_METHOD'] != 'POST') die();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With