I don't see the point. htaccess will enable you to enter the url you want and the $_GET['username'] variable in the index.php page will then give you a hook to the db to extract the user's details. That's it. Cookies shouldn't really feature here. The htaccess method will work whether cookies are enabled, eaten, disabled etc etc.
There are 20 ways to boil an egg, but I think using cookies for this will leave it raw.
Have you tried my suggestion?
Last edited by ardav; Sep 20th, 2009 at 1:25 pm.
Reputation Points: 1046
Solved Threads: 941
Sarcastic Poster
Offline 6,661 posts
since Oct 2006