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 trialJoseph Trueman
Courses Plus Student 785 PointsOn the initial set up of the file index.php it will not connect to Index of/testsite, however if it is index.txt it will
on the initial set up of the file index.php it will not connect to Index of/testsite, however if it is index.txt it will pull up the Index of/testsite. I can read the file it said "test" just as seen in the video.
4 Answers
Alena Holligan
Treehouse TeacherAre you maybe trying to access the PHP file as a file on c drive (eg. C:\xamp\htdocs\data.php or file:///c:/xamp/htdocs/data.php) instead of as a webpage (ie //localhost/data.php)? What is shown in your browser address bar?
Joseph Trueman
Courses Plus Student 785 PointsI have "localhost" in my browser address bar.
Joseph Trueman
Courses Plus Student 785 PointsIt will redirect me to "http://localhost/dashboard/", no clue where to go from here. It does not look at all like the video.
Joseph Trueman
Courses Plus Student 785 Points"http://localhost/dashboard/"...all I could thinkd to do is "http://localhost/testsite/", which gives me the parent directory and under that is a link that states "index.txt" when I click on it it said "test" in the notepad just like the video. Except that it should be "index.php". What have I missed?