Topic: This is correct?
This would be correct or needs another code more to prevent xss
if (Request::post('data')) $data = Security::xssClean(Request::post('data')); else $data = Option::get('data');
Pages 1
This would be correct or needs another code more to prevent xss
if (Request::post('data')) $data = Security::xssClean(Request::post('data')); else $data = Option::get('data');
no, just $data = Request::post('data');
because post and get data will cleanup automatically
Pages 1
Powered by PunBB, supported by Informer Technologies, Inc.