Welcome Guest, Not a member yet? Register   Sign In
Avoiding something with $_POST
#5

[eluser]uptime[/eluser]
I usually try to use built-in CI functions/classes but you can give this a shot:

Code:
if (!function_exists('form_post')) :
function form_post()
{
    return ($_SERVER['REQUEST_METHOD'] == 'POST');
}
endif;


Messages In This Thread
Avoiding something with $_POST - by El Forum - 07-29-2009, 07:33 PM
Avoiding something with $_POST - by El Forum - 07-29-2009, 08:03 PM
Avoiding something with $_POST - by El Forum - 07-29-2009, 09:20 PM
Avoiding something with $_POST - by El Forum - 07-29-2009, 11:10 PM
Avoiding something with $_POST - by El Forum - 10-05-2009, 09:24 PM
Avoiding something with $_POST - by El Forum - 10-05-2009, 09:41 PM
Avoiding something with $_POST - by El Forum - 10-06-2009, 06:40 AM
Avoiding something with $_POST - by El Forum - 10-06-2009, 09:42 AM
Avoiding something with $_POST - by El Forum - 10-06-2009, 11:45 AM



Theme © iAndrew 2016 - Forum software by © MyBB