Jump to content


Photo

Virtual Directories


  • Please log in to reply
2 replies to this topic

#1 rh91uk

rh91uk
  • Members
  • PipPip
  • Member
  • 15 posts

Posted 24 September 2006 - 05: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.rhwebdesi...ofile.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!

#2 onlyican

onlyican
  • Members
  • PipPipPip
  • Advanced Member
  • 921 posts
  • LocationHants - UK

Posted 24 September 2006 - 10:27 AM

There is a PHP solution
Check out this post
http://www.phpfreaks...c,102237.0.html
Tell me the problem, I will try tell you the solution

#3 rh91uk

rh91uk
  • Members
  • PipPip
  • Member
  • 15 posts

Posted 25 September 2006 - 03:17 PM

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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users