[thelist] Block a Referring URL

VOLKAN ÖZÇELİK volkan.ozcelik at gmail.com
Fri Mar 10 16:27:28 CST 2006

> If you have a "common php function" file you can include code like this to execute before
>anything else and redirect accordingly. Might be easier than the
.htaccess solution.

Correct, it can essentially be done in something like access.php, or
header.php which most probably will be included in all pages if you
have a dynamic template-base application (which most probably you have
-- I hardly remember the times I used to code all the raw HTML without
server side includes. At least you have a common header and footer
include file for your pages I guess).

Although I'm not a PHP guru, I had done similar stuff in classic ASP,
which more or less resembles PHP.

Volkan Ozcelik
+>Yep! I'm blogging! : http://www.volkanozcelik.com/volkanozcelik/blog/
+> My projects/studies/trials/errors : http://www.sarmal.com/

More information about the thelist mailing list