Jump to content

Advanced PHP Video Tut Help


PierceMcGeough

Recommended Posts

In the advanced php video tutorials im on 04. Dispatching Requests to Multiple Controllers

 

There are a few things messing me up:

 

1st is that stefans uri is http://killerphp, he doesnt even point to /public to view the index.php file in the browser.

 

my oopSite is his killerphp

2nd due to setting up with xampp mine is localhost/tutorials/oopSite/public/, i need the /public and i cant get to it using http://

 

3rd when using the $uri = $_SERVER['REQUEST_URI']; mine is showing up as /tutorials/oopSite/public/

So i think this is messing up my switch statement

 

Any help please

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...