Jump to content

Archived

This topic is now archived and is closed to further replies.

rh91uk

Virtual Directories

Recommended Posts

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!

Share this post


Link to post
Share on other sites
There is a PHP solution
Check out this post
http://www.phpfreaks.com/forums/index.php/topic,102237.0.html

Share this post


Link to post
Share on other sites
Thanks ! :D

My 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

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.