The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Required info on Pstack on solaris10 rajendra44 UNIX for Advanced & Expert Users 0 06-02-2008 05:46 AM
Script required to get a required info from file. Pls. help me. ntgobinath Shell Programming and Scripting 2 05-31-2008 05:34 AM
Unix coding tip required udiptya UNIX for Dummies Questions & Answers 5 02-03-2008 11:45 PM
Help required regarding Unix Signal k_bijitesh UNIX for Advanced & Expert Users 9 01-09-2007 12:44 AM
missing Path(in UNIX) when i launch a job on to unix machine using windows SSh megastar UNIX for Advanced & Expert Users 1 11-04-2005 04:36 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 05-10-2002
Registered User
 

Join Date: May 2002
Location: Reading, UK
Posts: 4
UNIX PATH info required PLEASE HELP (I'm new to unix)

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
Forum Sponsor
  #2  
Old 05-10-2002
boris888
Guest
 

Posts: n/a
try file:/ (only one slash) as a header before the path... or http:// , then the URL for the page.
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 07:55 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0