this is obviously not the code, but i dont know how else to explain it to you ...
if ($referrer != *.domain.com) {
redirect to error page
halt
}
if ($referrer = *.domain.com) {
redirect to correct page
halt
}
basically i want to send the surfer through a script that will check referrer, and if he did not come from a specific page i want him sent to an error page.
if he did come from specific page, i want him sent to a different page.
also it must strip the referrer and only look at the domain, and not the trailing sub domains.
if this is complicated, shoot me a quote to
[email protected]
thanks.