preg_match
by webproger on 2020-03-13
if(preg_match('/:\/\/(www\.)?kallery\.net/',$_SERVER['HTTP_REFERER'])) {  }

preg_match('/quiz=([a-z0-9]+)/',$_SERVER['HTTP_REFERER'],$a);
echo $a[0];