rh91uk Posted September 24, 2006 Share Posted September 24, 2006 Hi All!Firstly, sorry if I have posted this in the wrong forum!I'm kind of in a bit of a dilema. I dont want my users to see a url such as http://www.rhwebdesign.net/profile.php?id=1.How do I do a virtual directory in PHP that can interact with mysql, and hence, create a "virtual" directory relative to the ID or title. So, for instance, if the username of profile.php?id=1 was richard, I could have http://www.rhwebdesign.net/richard.Mod rewrite is not really an option, because I have no access to it whatsoever.Help would be appreciated =DThankyooou! Quote Link to comment Share on other sites More sharing options...
onlyican Posted September 24, 2006 Share Posted September 24, 2006 There is a PHP solutionCheck out this posthttp://www.phpfreaks.com/forums/index.php/topic,102237.0.html Quote Link to comment Share on other sites More sharing options...
rh91uk Posted September 25, 2006 Author Share Posted September 25, 2006 Thanks ! :DMy host is being difficult and now said i could have access to mod rewrite (doh). Does anyone know how I use it to interact with MYSQL? I've read the docs, and they make no sence.Thanks! :D Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.