My http_referer says this:
http://www.domain.com/search/?etcetcetcetc...
I need to compare my http_referer to look for this:
http://www.domain.com/search
And if the first part of the referer is this, then do some code...
Ex:
if($_SERVER['HTTP_REFERER']=='http://www.domain.com/search'){
do stuff...
But first I think I need to strip everything after the word "search".
I am not good at regular expressions and this kind of stuff, so help is appreciated... Thanks