newbie fundamental question

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
angiebro
-


Joined: 14 Nov 2003
Posts: 4

PostPosted: Fri Nov 14, 2003 2:25 am    Post subject: newbie fundamental question Reply with quote

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 View user's profile Send private message Visit poster's website
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Fri Nov 14, 2003 4:20 am    Post subject: Re: newbie fundamental question Reply with quote

Please read http://www.aprelium.com/forum/viewtopic.php?t=638 .
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
angiebro
-


Joined: 14 Nov 2003
Posts: 4

PostPosted: Sun Nov 16, 2003 10:57 pm    Post subject: huh? Reply with quote

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 View user's profile Send private message Visit poster's website
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Tue Nov 18, 2003 8:13 pm    Post subject: Re: huh? Reply with quote

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 View user's profile Send private message Send e-mail
angiebro
-


Joined: 14 Nov 2003
Posts: 4

PostPosted: Tue Nov 18, 2003 8:30 pm    Post subject: Reply with quote

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 View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group