0

I am developing an web application using php. One of the requirement is the want member id looks like folder name such as http......com//joe The id is "joe"

Normally i will use http......com/?id=joe but my client don't what this idea...

How do i grab that id???

Thanks

  • I don't know PHP but in .net that type is used in the MVC framework using Http Routing. Might want to look into PHP's routing capabilities? – Jack Marchetti Oct 30 '09 at 06:49
  • 2
    mod_rewrite read this http://stackoverflow.com/questions/522452/how-do-i-do-url-rewriting-in-php – x2. Oct 30 '09 at 06:51

1 Answers1

3

You are looking for URL Rewriting.

With Apache, you are able to setup URL Rewriting for your PHP pages with mod_rewrite, check the following resources:

Christian C. Salvadó
  • 807,428
  • 183
  • 922
  • 838