I saw many torrenttrader tackers have it. For example, I want it to be account-details.php?id=shadows instead of account-details.php?id=1
"MicroMonkey, post: 66518, member: 311":
this would probably require using mod-rewrite and adding things to HTACCESS. Just curious, why do you want to do this?
function is_valid_id($id){
return is_numeric($id) && ($id > 0) && (floor($id) == $id);
}
function is_valid_int($id){
return is_numeric($id) && (floor($id) == $id);
}[/code[
"MicroMonkey, post: 66532, member: 311":
try what these people are saying. https://stackoverflow.com/questions/1039725/how-to-do-url-re-writing-in-php
"MicroMonkey, post: 66534, member: 311":
probably $row['username']
if (!is_valid_id($id))
show_error_msg(T_("NO_SHOW_DETAILS"), "Bad ID.",1);$id2 = $_GET['name'];
$r2 = @SQL_Query_exec("SELECT * FROM `users` WHERE `username` = '$id2'");
$user2 = mysqli_fetch_array($r2) or show_error_msg(T_("NO_SHOW_DETAILS"), T_("NO_USER_WITH_ID")." $id2.",1);No users online
Torrents
Members
Online