ами научи малко за Мysql как се записва и селектира
http://bg2.php.net/manual/en/function.explode.php
http://bg2.php.net/manual/en/function.urldecode.php
http://bg2.php.net/manual/en/control-structures.foreach.php
http://bg2.php.net/manual/en/function.fopen.php
http://bg2.php.net/manual/en/function.end.php
http://bg2.php.net/manual/en/function.strrchr.php
http://bg2.php.net/manual/en/function.substr.php
това ако го прочетеш ще знаеш доста и ще си правиш колкото искаш търсачки
Малко подсказка
OR в SELECT до mysql e ИЛИ
правиш таблица с end explode или substr и strrchr записваш раширението
и правиш някви категории
и сяка категория може да е от сорта на
Код:
SELECT url,id,type FROM table WHERE url LIKE '%tursenoto%' AND ( type = 'rar' OR type='exe' OR type='zip' OR type = 'swf')