Page 1 of 1

Help!

Posted: Tue Jul 29, 2003 5:34 pm
by interrupt
Does anyone know a code something like a hotlink script? For example I want index.php to show only if the referer is from example.php. I've been searching but no luck. Thanks.

Posted: Tue Jul 29, 2003 9:57 pm
by jmarcv
if (ereg('example\.php',$HTTP_REFERER)){
## show it
}

Posted: Wed Jul 30, 2003 4:37 am
by twigletmac
Moved to PHP - Normal, doesn't belong in Advanced.

Mac