I want to see if there are any POST settings. Anyway, can I do this?
if (!empty($_POST)) { // handle post data }
if(count($_POST) > 0) { // Post vars are set
Simple, $ _POST is an array containing all POST-vars, just count how all the elements are in the array, and you know if there is any set.
echo count($_POST);
Source: https://habr.com/ru/post/1727053/More articles:Mono XSP игнорирует директиву в Web.Config - asp.netcommand line function for querying and returning input - scriptingincluding php in tag - phpImplementing a Sync Algorithm in C # - multithreadingHow to insert $ variable in jQuery - jqueryIs there a view for the button bar? (Link to the image describing the performance) - androidWhich Android control to use? - androidWhat third-party user interface libraries for WinForms, WPF, MVC, etc. Are the best? - asp.netWant to avoid the eval AND Function constructor - javascriptHow to increase parallel parallel tasks using System.Threading.Parallel (.Net 4.0) - multithreadingAll Articles