Virtual Directories + Forwarding....
Posted: Mon Nov 14, 2005 10:32 am
Hi,
I am trying to add the following functionality to my web site:
When someone creates an account on my site, I give them an ugly url like this:
www.domianname.com/directory/?theirUserName
as you'll agree, this is rubbish! What I'd like to do is give them a url like this
www.domianname.com/theirUserName
but without creating that directory. Instead, is it possible to receive this virtual directoy (/theiUserName) as a variable and look it up in a database? I do that in a round about way already but want to make it neater - i.e. remove the '?' to get the variable. Is this possible?
thanks for your help.
I am trying to add the following functionality to my web site:
When someone creates an account on my site, I give them an ugly url like this:
www.domianname.com/directory/?theirUserName
as you'll agree, this is rubbish! What I'd like to do is give them a url like this
www.domianname.com/theirUserName
but without creating that directory. Instead, is it possible to receive this virtual directoy (/theiUserName) as a variable and look it up in a database? I do that in a round about way already but want to make it neater - i.e. remove the '?' to get the variable. Is this possible?
thanks for your help.