UNIX PATH info required PLEASE HELP (I'm new to unix)


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers UNIX PATH info required PLEASE HELP (I'm new to unix)
# 1  
Old 05-10-2002
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
# 2  
Old 05-10-2002
try file:/ (only one slash) as a header before the path... or http:// , then the URL for the page.
boris888
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Getting required fields from a test file in required fromat in unix

My data is something like shown below. date1 date2 aaa bbbb ccccc date3 date4 dddd eeeeeee ffffffffff ggggg hh I want the output like this date1date2 aaa eeeeee I serached in the forum but didn't find the exact matching solution. Please help. (7 Replies)
Discussion started by: rdhanek
7 Replies

2. UNIX for Advanced & Expert Users

missing Path(in UNIX) when i launch a job on to unix machine using windows SSh

hi i want run an unix application from a windows program/application.i am using SSH(command line version)to log on to a unix machine from windows. the application has to read a configuration file inorder to run. the configuration file .CFG is in bin in my home directory. but the application... (1 Reply)
Discussion started by: megastar
1 Replies

3. UNIX for Dummies Questions & Answers

Any URL'S for free Unix Download

Hi, Can anyone please suggest me a URL where I can download some unix OS free of cost?? Thanks, Kumar (4 Replies)
Discussion started by: yelamarthi
4 Replies

4. UNIX for Dummies Questions & Answers

Unix ISO's for FTP, I've searched the other Posts

Where Do I download Unix ISO's for free? I have searched this database for other related posts, but to no avail. All I need is this info, and I don't want Linux; just a Unix site. Please and thank you for your help. (3 Replies)
Discussion started by: killrazor
3 Replies

5. UNIX for Dummies Questions & Answers

I'm a newbie (to UNIX)

Hello everyone! I'm new entirely to UNIX and the main reason for my interest for it is its high demand as a robust OS on the back end for managing volumes effectively and flawlessly. The only exposure I've had to comand line/console OS is DOS some time ago (over 15 yrs to be exact). Used... (5 Replies)
Discussion started by: El Guaca®
5 Replies

6. Programming

unix has it's own database

Well I am new to Unix, I small doubt to clarify with our colloquies here. Does Unix any of the versions contains its own database or it stores data on the file system. How to migrate data in Unix to Oracle Data base is there any tool or utility available on Unix that helps to do this... (4 Replies)
Discussion started by: IRFI_P
4 Replies

7. UNIX for Dummies Questions & Answers

my cable connection does'nt support unix

If my cable company doesn't support unix is there anything I can do. Are there drivers out there or would I be able to buy a third party modem and does it matter what cable co. I use to which cable modem I can use. Thank you for all your help. (1 Reply)
Discussion started by: gparsons70
1 Replies

8. UNIX for Dummies Questions & Answers

Newbie to Unix and needs info!

IM SOOOOOO EXITED. I've decided to the Unix operating system on my computer. Here are my computer spex 15 gig HD 550 mHz P3 192 Meg 133 mHz ram FAT 32 Partition Win 98 Couple questions now... What is the best type of Unix/Linux? Why? I have heard that FreeBSD is the best? True, not... (3 Replies)
Discussion started by: KyPeN
3 Replies

9. UNIX for Dummies Questions & Answers

What's the difference between Unix, Linux, and Solaris?

If anyone can tell me the difference between the three or where I can find more info I would appreciated it. I see alot of companies looking for people with knowledge in Unix but every time I try to find information about it I see Linux instead. Is there a market trend in these operating... (2 Replies)
Discussion started by: ITmommy
2 Replies

10. UNIX for Dummies Questions & Answers

Seeing windows PC's from Unix

I have a network of windows 98 PC's that are connected to a unix machine using TCP/IP and Termlite emulator. Is it possible to access the PC's files from the unix machine and could I create files on the PC's from the unix box? (1 Reply)
Discussion started by: rongrout
1 Replies
Login or Register to Ask a Question