url rewriting - Creating a public profile and custom URL in PHP -
i'm looking create user admin area , public profile page custom url in php. have found great tutorial on users creating own private admin area. however, i'm struggling find further guidance on following:
creating public custom url (such as website.com/username) based on user requested on signup.
using custom url display public profile page selected information user entered private admin area.
i know bread , butter stuff i'm leaning php guidance , best practices @ stage welcome.
thanks, jack.
you try following:
- use
mod_rewrite(assuming have apache server) forwarddomain.com/abcderequests don't match existing file or directory (see-fcondition)domain.com/user.php?name=abcde - in
user.php, data based on user-chosen name database , display it, display error message if no user found.
Comments
Post a Comment