Checking if a request is POST? |
[eluser]hugle[/eluser]
[quote author="heavenquake" date="1266739418"]input->post is not a controller method, but a method of the input library ( http://ellislab.com/codeigniter/user-gui...input.html ). In CodeIgniter you extend core libraries (such as input) by placing a file called MY_Input.php in your libraries folder, with the following prototype: Code: class MY_Input extends CI_Input { in your case it would be something alá: Code: class MY_Input extends CI_Input { thank you very much for this extension,it's more like CI style. I used to use this: Code: if($_POST) |
Messages In This Thread |
Checking if a request is POST? - by El Forum - 02-20-2010, 08:43 AM
Checking if a request is POST? - by El Forum - 02-20-2010, 11:01 AM
Checking if a request is POST? - by El Forum - 02-20-2010, 01:17 PM
Checking if a request is POST? - by El Forum - 02-20-2010, 02:06 PM
Checking if a request is POST? - by El Forum - 02-20-2010, 05:32 PM
Checking if a request is POST? - by El Forum - 02-20-2010, 08:03 PM
Checking if a request is POST? - by El Forum - 02-21-2010, 06:46 AM
|