View previous topic :: View next topic |
Author |
Message |
angiebro -
Joined: 14 Nov 2003 Posts: 4
|
Posted: Fri Nov 14, 2003 2:25 am Post subject: newbie fundamental question |
|
|
I installed Abyss to C:\Program files\Abyss Web Server.
I then installed PHP according to the FAQ on Abyss.
I need to know the path to everything the server, PHP and cgi.
Sorry if this is a dumb question.
Angie |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
|
Back to top |
|
 |
angiebro -
Joined: 14 Nov 2003 Posts: 4
|
Posted: Sun Nov 16, 2003 10:57 pm Post subject: huh? |
|
|
That didn't help at all. Maybe you didn't understand my question, although I appreciate the response. I know that my PHP is installed and running properly. I just need the path to everything. In the past, I have relied too heavily on Front page and thus have not gained the full understanding of how paths work. I installed the Abyss server to the default directory of C:\Program Files\Abyss Web Server and I relaize my http://127.0.0.1/ is the local IP address AND I understand that my HTML files are stored in htdocs but what is the path in this snippet to my header if I keep them in a directory named include_files:
Code: | $headervar = "include_files/header";
$footervar = "include_files/footer";
$extension = ".php" |
Does that make sense?
If I should need the path to CGI how would I write that? Would it look like ../cgi-bin?
Angie |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Tue Nov 18, 2003 8:13 pm Post subject: Re: huh? |
|
|
angiebro,
When a CGI script is executed, Abyss Web Server sets the current directory to the directory where the script is located. So if you script is in c:\Program Files\Abyss Web Server\htdocs , and if you refer to file "include_files/header", the full path for this file is c:\Program Files\Abyss Web Server\htdocs\include_files\header .
Now, what do you mean by "the path for CGI"? There is no standard path for CGI files, all depends on your configuration. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
angiebro -
Joined: 14 Nov 2003 Posts: 4
|
Posted: Tue Nov 18, 2003 8:30 pm Post subject: |
|
|
OK thanks. I thought I was supposed to us a shorter path such as /htdocs/include_files etc. OR something like http://127.0.0.1/include_files/ Will my php program run if I use the path c:\Program Files\Abyss Web Server\htdocs ?
Maybe I am making it harder than it really is?
Angie |
|
Back to top |
|
 |
|