Chciałbym prosić was o pomoc, mianowicie próbuje uporać się z prostymi adresami w php nuke,
jednak z mizernym skutkiem, niby wszystko powinno działać lecz niestety jak by mod_rewrite wcale nie reagowało
function replace_for_mod_rewrite(&$s) { $urlin = "'(?<!/)index.php'", "'(?<!/)modules.php'", "'(?<!/)show.html\?name=News&file=article&sid=([0-9]*)'", "'(?<!/)show.html\?name=Ads&op=add_ad_check'", "'(?<!/)show.html\?name=Ads&op=add_ad_photo'", "'(?<!/)show.html\?name=Ads&op=add_ad'", "'(?<!/)show.html\?name=Ads&op=search_advanced'", "'(?<!/)show.html\?name=Ads&op=show_item&id=([1-9][0-9]*)&title=([a-zA-Z0-9+]*)'", "'(?<!/)show.html\?name=Ads&op=edit_ad&ad_id=([1-9][0-9]*)'", "'(?<!/)show.html\?name=Ads&op=del_ad&func=check&id=([1-9][0-9]*)'", "'(?<!/)show.html\?name=Ads&op=edit_photo&ad_id=([1-9][0-9]*)'", "'(?<!/)show.html\?name=Ads&op=del_photo&ad_id=([1-9][0-9]*)&folder=([a-zA-Z0-9+]*)&photo=([a-zA-Z0-9+]*)__([1-9][0-9]*).jpg'", "'(?<!/)show.html\?name=Ads&op=del_photo&ad_id=([1-9][0-9]*)&folder=([a-zA-Z0-9+]*)&photo=([a-zA-Z0-9+]*).jpg'", "'(?<!/)show.html\?name=Firm_Folder&rop=write_firm'", "'(?<!/)show.html\?name=Firm_Folder&rop=showcontent&id=([1-9][0-9+]*)&title=([/:|\s\-\'{}().&_a-zA-Z0-9+=]*)'", "'(?<!/)show.html\?name=Firm_Folder&rop=showcontent&id=([1-9][0-9+]*)'", "'(?<!/)show.html\?name=Firm_Folder&rop=mod_firm&id=([1-9][0-9+]*)'", "'(?<!/)show.html\?name=Firm_Folder&rop=del_firm&id_del=([1-9][0-9+]*)&title=([/:|\s\-\'{}().&_a-zA-Z0-9+=]*)'", "'(?<!/)show.html\?name=Firm_Folder&rop=postcomment&id=([1-9][0-9+]*)&title=([/:|\s\-\'{}().&_a-zA-Z0-9+=]*)'", "'(?<!/)show.html\?name=Firm_Folder&rop=del_comment&cid=([1-9][0-9+]*)&id=([1-9][0-9+]*)'", "'(?<!/)show.html\?name=Firm_Folder&rop=([a-zA-Z0-9+]*)&field=([a-zA-Z0-9+]*)&order=([a-zA-Z0-9+]*)'", "'(?<!/)show.html\?name=Firm_Folder&rop=([a-zA-Z0-9+]*)'", "'(?<!/)show.html\?name=Firm_Folder'", "'(?<!/)show.html\?name=Your_Account&op=userinfo&username=([a-zA-Z0-9+]*)'", "'(?<!/)show.html\?name=Your_Account&op=userinfo&username=([a-zA-Z0-9+]*)'", "'(?<!/)show.html\?name=Your_Account&op=userinfo&username=([a-zA-Z0-9+]*)'", "'(?<!/)show.html\?name=Your_Account&op=userinfo&bypass=([0-9]*)&username=([a-zA-Z0-9+]*)'", "'(?<!/)show.html\?name=Your_Account&op=userinfo&bypass=([0-9]*)&username=([a-zA-Z0-9+]*)'", "'(?<!/)show.html\?name=Your_Account&op=userinfo&bypass=([0-9]*)&username=([a-zA-Z0-9+]*)'", "'(?<!/)show.html\?name=Your_Account&op=userinfo&bypass=([0-9]*)&username=([a-zA-Z0-9+]*)'", "'(?<!/)show.html\?name=Your_Account&op=pass_lost'", "'(?<!/)show.html\?name=Your_Account&op=pass_lost'", "'(?<!/)show.html\?name=Your_Account&file=index'", "'(?<!/)show.html\?name=Your_Account&op=logout'", "'(?<!/)show.html\?name=Your_Account&op=new_user'", "'(?<!/)show.html\?name=Your_Account'", "'(?<!/)show.html\?name=Help'", "'(?<!/)pomoc.html&myfaq=yes&id_cat=([1-9][0-9]*)'", "'(?<!/)pomoc.html&myfaq=yes&id_cat=([1-9][0-9]*)'", "'(?<!/)show.html\?name=FeedBack'", "'(?<!/)show.html\?name=Feedback'", "'(?<!/)show.html\?name=Your_Account&file=index'", "'(?<!/)show.html\?name=Your_Account&op=logout'", "'(?<!/)show.html\?name=Extant&extant=1'", "'(?<!/)show.html\?name=Advertising&op=view_banner&cid=([1-9][0-9]*)&bid=([1-9][0-9]*)'", "'(?<!/)show.html\?name=Advertising&op=client_home'", "'(?<!/)show.html\?name=Advertising&op=client_report&cid=([1-9][0-9]*)&bid=([1-9][0-9]*)'", "'(?<!/)show.html\?name=Advertising&op=client'", "'(?<!/)show.html\?name=Advertising&op=plans'", "'(?<!/)show.html\?name=Advertising&op=terms'", "'(?<!/)show.html\?name=Advertising&op=sitestats'", "'(?<!/)show.html\?name=Advertising'", "'(?<!/)show.html\?name=Content&pa=list_pages_categories&cid=1'", "'(?<!/)show.html\?name=Content&pa=list_pages_categories&cid=4'", "'(?<!/)show.html\?name=Content&pa=list_pages_categories&cid=2'", "'(?<!/)show.html\?name=Content'", ); "index.html", "show.html", "article\\1.html", "sprawdzanie_ogloszenia.html", "dodawanie_zdjec.html", "dodaj_ogloszenie.html", "szukaj_ogloszenia.html", "ogloszenie_nr_\\1_\\2", "edytuj_ogloszenie_nr_\\1.html", "usun_ogloszenie_nr_\\1.html", "edytuj_zdjecia_nr_\\1.html", "usun_zdjecie_\\1_\\2_\\3_\\4.html", "usun_zdjecie_\\1_\\2_\\3.html", "dodaj_firme.html", "firma_\\1_\\2.html", "firma_\\1.html", "edytuj_firme_id_\\1.html", "usun_firme_\\2_id_\\1.html", "komentarz_firmy_\\2_id_\\1.html", "usun_komentarz_firmy_\\1_\\2.html", "firmy_\\1_sort_\\2_\\3.html", "firmy_\\1.html", "katalog_firm.html", "moje_konto-\\1.html", "moje_konto-\\1.html", "moje_konto-\\1.html", "moje_konto-\\1.html", "moje_konto-\\1.html", "moje_konto-\\1.html", "moje_konto-\\1.html", "zapomnialem_hasla.html", "zapomnialem_hasla.html", "moje_konto.html", "wyloguj.html", "rejestracja.html", "moje_konto.html", "pomoc.html", "pomoc_\\1.html", "pomoc_\\1.html", "kontakt.html", "kontakt.html", "moje_konto.html", "wyloguj.html", "wspolpraca_z_serwisem.html", "reklama_banner_\\1_\\2.html", "reklama_konto.html", "reklama_raport_\\1_\\2.html", "reklama_logowanie.html", "reklama_plany_i_taryfy.html", "reklama_regulamin.html", "reklama_statystyki.html", "reklama.html", "kredyty_samochodowe.html", "ubezpieczenia.html", "leasing.html", "finanse.html", ); return $s; } require_once("mainfile.php");