Hello .. guys i have a pagination script which is called "ShowAllMembers.php" well i need to make the url of this file like this Ex : Domain.com/user1/friends/view Domain.com/user2/friends/view Domain.com/user3/friends/view Domain.com/user4/friends/view and so on .. The question is how can i do this ? .htaccess maybe ? Thanks guys !
Yes you would need to use Apache's mod_rewrite inside of a .htaccess file to transform domain.come/user4/friends/view into the proper URL which might look like domain.com/users.php?id=4&do=view. Here's a sample tutorial on the subject: http://www.yourhtmlsource.com/sitemanagement/urlrewriting.html