Click to See Complete Forum and Search --> : Virtual Directories


rh91uk
09-24-2006, 12:49 AM
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 =D

Thankyooou!

chesemonkyloma
09-24-2006, 12:56 AM
i think mod rewrite is the only possibility here

rh91uk
09-24-2006, 01:35 AM
Ok.

Well, if I was to contact my host and ask if he can do it, how would I do it? I've read the apache documentation, but im baffled. How do I get it to automatically create the virtual directory?

Never had experience with modifing Apache in my life