Thread: Ban features
View Single Post
Old 12-30-2004, 02:15 PM   #12
rAdoN
Green Mole
 
Join Date: Oct 2004
Posts: 27
this already exist - not addition

PHP Code:
// no links with guestbook forum cgi-bin webring affiliates
// no links ending with .cgi .php .asp .pl .rm .ico .cab ...
define('FORBIDDEN_EXTENSIONS','(guestbook|forum|cgi-bin|webring|affiliates|\.(cgi|php|asp|pl|rm|ico|cab|swf|css|gz|z|tar|zip|tgz|msi|arj|zoo|rar|r[0-9]+|exe|bin|pkg|rpm|deb|bz2)$)'); 
remove space

why you not want .cgi .php .asp .pl - dynamic pages

FORBIDDEN_EXTENSIONS can be more than extensions

config is for you to config - make regex you want
__________________
rAdoN was here
rAdoN is offline   Reply With Quote