Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > CGI script question

CGI script question
Thread Tools
Professional Poster
Join Date: Jan 2000
Location: south
Status: Offline
Reply With Quote
Dec 26, 2000, 10:27 AM
 
I am a total neophyte as my question will attest. I am trying to put a guestbook cgi onto my website but in order for it to work I have to set a number of variables:
$guestbookurl - The url address of your guestbook.html file
$guestbookreal - The system location of your guestbook.html file
$guestlog - The system location of your guestlog.html file
$cgiurl - The url portion of the address to the guestbook.pl file
I understand the first and last locations but I have no idea what the "system location" means. In the script the example is
$guestbookreal = "/home/yourname/public_html/guestbook.html";
I don't understand what info to put here. I have my own .com address and it is hosted somewhere else (not on my computer) . Does "home" refer to the drive location of my files or the folder in my directory where my files are kept.
For example if my domain was wanker.com and when I logged into my web files the folder that contained my files was called wanker-www would that equal the "home" location?
I know that this is a convoluted post (and kind of lame) but I haven't been able to find any answers from the site where I got the script. I am still looking though.
Thanks
     
shmerek  (op)
Professional Poster
Join Date: Jan 2000
Location: south
Status: Offline
Reply With Quote
Dec 26, 2000, 08:51 PM
 
YAY! I figured it out!
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 11:06 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2