gi8ri7
Taak, Men ham kichik hack ulashmoqchiman

* Haqida:
Saytdagi maqola yoki yangilik http://sayt.uz/news/index.php?view=ID ni http://sayt.uz/yanhilik_sarlavhasi_ID.html ga o’zgartirish

Pastdagi arxiv ichida incfiles/core.php bor shuni saytingiz incfiles/core.php siga almashtirasiz va .htaccess ga
Kod · PHP5 qator
RewriteEngine on

RewriteRule ^news _([0-9]*).html$ news/index.php?act=view&id=$1 [NC,L] 

RewriteRule ^([^/]*)_([0-9]*).html$ news/index.php?act=view&id=$2 [NC,L]


URL uchun
Kod · PHP7 qator
$row['name'] = str_replace('||||','',$row['name']); 

$name = explode('||||', $row['name']);



echo '<a href="' . name_replace($name[0]) . '_' . $row['id'] . '.html"><b>' . $row['name'] . '</b></a>';

1 soniyadan keyin yozdi:
Ubu joylarini o’zingizga moslab ishlatasizlar albatta