You got a problem with HTTP_REFERER? 🙂
Really though, it's the only HTTP method to grab your referer info, which is why it's set up that way in the HTTP spec.
Perhaps if you more clearly explained why you don't want to use the tool for the job, someone could fill you in on how to use HTTP_REFERER to make it work the way you want.