I have this: mysite.com/profile.php?user=Mike but i want this: mysite.com/Mike
My php script parse the user information from My MySQL data base and shows it wh开发者_Go百科en a get or post action Is made. As you can see the format must be ?user=Name but i want to make it like Facebook do; /Mike, its anyway to do this whitout making a folder for each user? Thanks!
mod_rewrite should solve your problem. Here's a guide to getting started: http://www.workingwith.me.uk/articles/scripting/mod_rewrite
精彩评论