Jump to content


Photo

uri issues


  • Please log in to reply
No replies to this topic

#1 graham

graham

    New member

  • New Members
  • 3 posts

Posted 02 November 2011 - 10:56 AM

Wondering if someone could help me out. How do I change my uri from

localhost/killerphp/public/index
to
killerphp/index (the way John has it)

In other words, when I echo $_SERVER['REQUEST_URI'] on the index page I would like to get:

/index
not
/killerphp/public/index

(this stuff is in the "Dispatching Requests to Multiple Controllers" video)

It would make following along with the videos a lot simpler.
Any suggestions would be appreciated.
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users