Skip to main content

🛍️ BLACK FRIDAY get-one-give-one sale is underway. Don't miss $50 off PLUS a free subscription to gift a friend. 🤩

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

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

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • 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
      • • Vibe Coding
  • 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
    32,649 Points

    receipt folder with index.php

    Posted November 27, 2014 8:26pm by saranyamoellers
    saranyamoellers
    32,649 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.

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

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

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord