Hey I am a complete perl newbie and I have a stupid question. I need the absolute address to a file called guestbook.html its in the /www directory. I tried using /www/guestbook.html as the absolute filename and about a hundred other things. Whenever I run the script for the guestbook, it either A.) Makes a new guestbook.html file in the cgi-bin, or B.) Doesn't do anything. Please help
Ask your web host for the server path to your www directory, then add whatever directory you need on top, for example: /some/long/path/www/guestbook.html.
The path may include your account name, or something else, depending on your host.
Originally posted by jeffmott Perhaps you should post that part of the script and the path where the script is currently at. Is guestbook.html is the same directory as the script?
No. The guestbook file is in /www/ script is in cgi-bin. I tried making it view html files from the cgi-bin but is isn't working..
Bookmarks