Root Directory?

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Root Directory?

Postby AmareVeritas » 14. September 2004 15:21

I am taking a beginner PHP Tutorial and it's asking me to go to the root directory.... and I can't find it.

~Ian
AmareVeritas
 
Posts: 4
Joined: 14. September 2004 15:09

Postby Wiedmann » 14. September 2004 16:01

You mean the DocumentRoot?
--> "/xampp/htdocs/"
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

idk

Postby AmareVeritas » 14. September 2004 16:39

here's the url for the tutorial: http://us4.php.net/manual/en/tutorial.firstpage.php

It says root directory on the web server or directory_root.

I'm clueless

~Ian
AmareVeritas
 
Posts: 4
Joined: 14. September 2004 15:09

Postby Wiedmann » 14. September 2004 17:03

Create a file named hello.php and put it in your web server's root directory (DOCUMENT_ROOT) with the following content:

So my answer is right.

You know your installation point for XAMPP? There must be the (sub-)directory "htdocs". Put the script "hello.php" in this directory and access it in your browser with http://localhost/hello.php .
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Thanks

Postby AmareVeritas » 15. September 2004 03:24

It works now. Thanks!
AmareVeritas
 
Posts: 4
Joined: 14. September 2004 15:09


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 129 guests