Joomla: Accessing Request Values
Posted by Andy Nagai on Aug 25, 2010
1 comment
JRequest::get(string Request type) This will return cleaned sql injection safe array of requested variables. Can request POST, GET, FILES, COOKIE, SERVER request types. JRequest::get(‘POST’); JRequest::getVar(String name,mixed default,String request type) This will remove all html and trailing spaces. Prevents javascript injection. Can set default value if no value found. Can also force to validate as specific […]