I need to know how to enter a unix path in a cgi script for a guest book:
example:
My URL is
http://www.kitachi.info
I have an html file in the main folder on my site, the file is called :
gbook.html
what would the correct unix path for this file be ???
the part of the script I'm working with looks like this, but I know the actual address/ path is wrong..
$GUESTBOOK="/usr/home/kitachi.info/gbook.html";
I've been playing around with it for ages but it's started to drive me insane!
You can see what I'm trying to do if you goto:
http://www.kitachi.info/gbook.html
Then try and submit the form.
Basically , I think that when the form is submitted from the html to the cgi script, the cgi needs to look back through the folder directory and pinpopint the gbook.html file (using the unix path).
I've asked the tech support at my server about this but they aren't much help.
Am I mad, or can someone help me ??
Thank you very much in advance :O)
Regards
Adrian