Tag Archives: JRequest

Joomla: Accessing Request Values

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 […]