Directory Look-up And Forwarding

liunx

Guest
This is probably an easy one but I can't seem to figure this out. <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/blink.gif" style="vertical-align:middle" emoid=":blink:" border="0" alt="blink.gif" /> <br /><br />Trying to figure out a way for a <!-- w --><a class="postlink" href="http://www.domain.com/directory">www.domain.com/directory</a><!-- w --> to use the 'directory' as a variable to lookup DB information? Think MySpace, the /directory would actually be an account username (or similar) that would be used as a variable to select the DB information.<br /><br />I think something needs to be done to the .htaccess but I can't figure this one out. I don't need to know all of the SQL commands or PHP, I just need to handle /directory as a variable.<br /><br />Last part. If possible, can I still use true directories such as <!-- w --><a class="postlink" href="http://www.domain.com/news">www.domain.com/news</a><!-- w --> to access the index file as it should?<br /><br />Any help would be greatly appriciated.<br /><br /><br />As always.. <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/tchrocks!.gif" style="vertical-align:middle" emoid=":tchrocks!:" border="0" alt="tchrocks!.gif" /><!--content-->
 
Back
Top