🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
  • Coskun Olcucu
    Coskun Olcucu
    4,562 Points

    ROOt_PATH and BASE_URL is not working

    Posted July 16, 2015 10:51pm by Coskun Olcucu
    Coskun Olcucu
    4,562 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Subfolders
    • Introducing Constants

    3 Answers

  • Denis Müller
    Denis Müller
    3,640 Points

    Cant get it to work!

    Posted April 26, 2015 1:27pm by Denis Müller
    Denis Müller
    3,640 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Subfolders
    • Introducing Constants

    2 Answers

  • Diego Villaseñor
    Diego Villaseñor
    12,615 Points

    Trouble with ROOT_PATH

    Posted April 11, 2015 7:01pm by Diego Villaseñor
    Diego Villaseñor
    12,615 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Subfolders
    • Introducing Constants

    3 Answers

  • Alexis Leblanc-Isabelle
    Alexis Leblanc-Isabelle
    9,558 Points

    Logic problem

    Posted April 6, 2015 1:51pm by Alexis Leblanc-Isabelle
    Alexis Leblanc-Isabelle
    9,558 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Subfolders
    • Introducing Constants

    1 Answer

  • Robert Mews
    Robert Mews
    11,540 Points

    BASE_URL and ROOT_PATH for non-localhost?

    Posted March 29, 2015 5:43am by Robert Mews
    Robert Mews
    11,540 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Subfolders
    • Introducing Constants

    1 Answer

  • shawn stokes
    shawn stokes
    5,651 Points

    who thought this would be a good idea!

    Posted March 25, 2015 9:44pm by shawn stokes
    shawn stokes
    5,651 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Subfolders
    • Introducing Constants

    2 Answers

  •  Tony Mikel
     Tony Mikel
    10,661 Points

    Root-relative path not working from receipt directory

    Posted February 25, 2015 3:02pm by  Tony Mikel
     Tony Mikel
    10,661 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Subfolders
    • Introducing Constants

    1 Answer

  • Alexander Stanuga
    Alexander Stanuga
    11,999 Points

    Having issues getting ROOT_PATH to work, blank white page loading no CSS showing

    Posted January 12, 2015 12:48am by Alexander Stanuga
    Alexander Stanuga
    11,999 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Subfolders
    • Introducing Constants

    3 Answers

  • Andreas Gagnier Ruckert
    Andreas Gagnier Ruckert
    10,352 Points

    Need help getting ROOT_PATH to work.

    Posted December 8, 2014 5:33pm by Andreas Gagnier Ruckert
    Andreas Gagnier Ruckert
    10,352 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Subfolders
    • Introducing Constants

    2 Answers

  • saranyamoellers
    saranyamoellers
    31,831 Points

    receipt folder with index.php

    Posted November 27, 2014 8:26pm by saranyamoellers
    saranyamoellers
    31,831 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Subfolders
    • Introducing Constants

    8 Answers

  • Ben Goldman
    Ben Goldman
    14,626 Points

    "Introducing Constants" is killing my soul

    Posted November 12, 2014 9:10pm by Ben Goldman
    Ben Goldman
    14,626 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Subfolders
    • Introducing Constants

    1 Answer

  • David Wall
    David Wall
    11,088 Points

    ROOT_PATH not working.

    Posted October 27, 2014 2:47am by David Wall
    David Wall
    11,088 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Subfolders
    • Introducing Constants

    6 Answers

  • Houssam Naous
    Houssam Naous
    7,616 Points

    absolute paths and relative paths

    Posted July 22, 2014 9:47pm by Houssam Naous
    Houssam Naous
    7,616 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Subfolders
    • Introducing Constants

    1 Answer

  • Brian Enos
    Brian Enos
    10,468 Points

    Introducing Constants: Difference between "BASE_URL" and "ROOT_PATH

    Posted July 12, 2014 4:47pm by Brian Enos
    Brian Enos
    10,468 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Subfolders
    • Introducing Constants

    3 Answers

  • Mindaugas Juskevicius
    PLUS
    Mindaugas Juskevicius
    Courses Plus Student 709 Points

    Relative paths

    Posted June 13, 2014 2:00pm by Mindaugas Juskevicius
    Mindaugas Juskevicius
    Courses Plus Student 709 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Subfolders
    • Introducing Constants

    4 Answers

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

    BASE_URL vs ROOT_PATH

    Posted April 30, 2014 3:37pm by cristian bolea
    cristian bolea
    Courses Plus Student 3,393 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Subfolders
    • Introducing Constants

    2 Answers

  • KnowledgeWoods Consulting
    KnowledgeWoods Consulting
    5,607 Points

    No closing tag in config.php???

    Posted April 23, 2014 12:47pm by KnowledgeWoods Consulting
    KnowledgeWoods Consulting
    5,607 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Subfolders
    • Introducing Constants

    1 Answer

  • Leo Santinen
    Leo Santinen
    2,046 Points

    XAMP Acess forbidden error

    Posted April 14, 2014 10:28pm by Leo Santinen
    Leo Santinen
    2,046 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Subfolders
    • Introducing Constants

    1 Answer

  • steven schwerin
    steven schwerin
    7,722 Points

    Base URL

    Posted March 24, 2014 11:13pm by steven schwerin
    steven schwerin
    7,722 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Subfolders
    • Introducing Constants

    2 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.