Page 1 of 1

Root Directory?

PostPosted: 14. September 2004 15:21
by AmareVeritas
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

PostPosted: 14. September 2004 16:01
by Wiedmann
You mean the DocumentRoot?
--> "/xampp/htdocs/"

idk

PostPosted: 14. September 2004 16:39
by AmareVeritas
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

PostPosted: 14. September 2004 17:03
by Wiedmann
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 .

Thanks

PostPosted: 15. September 2004 03:24
by AmareVeritas
It works now. Thanks!