Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP Enhancing a Simple PHP Application Cleaning URLs with Subfolders Introducing Constants

cristian bolea
PLUS
cristian bolea
Courses Plus Student 3,393 Points

BASE_URL vs ROOT_PATH

Hello :) I do not really see the differtnce between those ...For me they point to the same place on the server... Can somebody explain this to me? Thanks :)

2 Answers

cristian bolea
PLUS
cristian bolea
Courses Plus Student 3,393 Points

Thank you for your reply Richard... To me it seems that both base_url and rootpath contain the same information... What am i missing? Can you tell?