Yangi formatda davom etish uchun: https://uzfor.net/view.php?act=post&id=83984
Postga havola
gi8ri7 [1900] [off]
@username
.htaccess uchun
users/profile.php uchun
$lng_profile = core::load_lng('profile'); Yoziligan qatorni pastiga quidagi kodni qo’shib qo’ying
.htaccess uchun
RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^@(.*?)$ users/profile.php?un=$1 [NC,L]
users/profile.php uchun
$lng_profile = core::load_lng('profile'); Yoziligan qatorni pastiga quidagi kodni qo’shib qo’ying
if (mysql_result(mysql_query("SELECT COUNT(*) FROM `users` WHERE `name` = '" . mysql_real_escape_string($name) . "' LIMIT 1;"), 0) != 0) $user = mysql_result(mysql_query("SELECT `id` FROM `users` WHERE `name` = '" . mysql_real_escape_string($name) . "' LIMIT 1;"), 0); else $user = -1; }