title: how can I check if the HTTP_REFERER contains a string, but not exact match?
body: <p>I know HTTP_REFERER is not safe as a security measure, but I still want to know.</p>
  
  <p>How can I check if the value of HTTP_REFERER contains www.someexample.com even though it may be www.someexample.com/awards/user/145??</p>