i have used the rgpost() instead of $_POST.
do i need to sanitize the input as always for good measure? or
this function is pre sanitized?
This is what the rgpost function looks like:
function rgpost( $name, $do_stripslashes = true ) {
if ( isset( $_POST[ $name ] ) ) {
return $do_stripslashes ? stripslashes_deep( $_POST[ $name ] ) : $_POST[ $name ];
}
return '';
}
2 Likes