开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜