how to get the Get variables from a link clicked in an email
Posted on 2014-12-09
How do i get the get variables from a link clicked in an email?
I've seen parse_str but i dont know how to make sure the data is safe
do i use html_special_chars or strip_tags or preg_replace.i I was thinking something like this...assuming here just one variable $data
$data = strip_tags($data');
$data = preg_replace('/on[a-z]+=\".*\"/i', '', $data);