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
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
2. UNIX for Dummies Questions & Answers
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
3. UNIX for Dummies Questions & Answers
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
4. UNIX for Dummies Questions & Answers
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
5. Programming
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
6. UNIX for Dummies Questions & Answers
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
7. UNIX for Dummies Questions & Answers
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
8. UNIX for Dummies Questions & Answers
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
9. UNIX for Advanced & Expert Users
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
10. Shell Programming and Scripting
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
LEARN ABOUT LINUX
rmadison
RMADISON(1) RMADISON(1)
NAME
rmadison -- Remotely query the Debian archive database about packages
SYNOPSIS
rmadison [OPTIONS] PACKAGE ...
DESCRIPTION
dak ls queries the Debian archive database ("projectb") and displays which package version is registered per architecture/component/suite.
The CGI at http://qa.debian.org/madison.php provides that service without requiring SSH access to ftp-master.debian.org or the mirror on
ries.debian.org. This script, rmadison, is a command line frontend to this CGI.
OPTIONS
-a, --architecture=ARCH
only show info for ARCH(s)
-b, --binary-type=TYPE
only show info for binary TYPE
-c, --component=COMPONENT
only show info for COMPONENT(s)
-g, --greaterorequal
show buildd 'dep-wait pkg >= {highest version}' info
-G, --greaterthan
show buildd 'dep-wait pkg >> {highest version}' info
-h, --help
show this help and exit
-s, --suite=SUITE
only show info for this suite
-S, --source-and-binary
show info for the binary children of source pkgs
-t, --time
show projectb snapshot and reload time (not supported by all archives)
-u, --url=URL[,URL ...]
use URL for the query. Supported shorthands are
debian or qa http://qa.debian.org/madison.php
bpo http://backports.debian.org/cgi-bin/madison.cgi
debug http://debug.debian.net/cgi-bin/madison.cgi
ubuntu http://people.canonical.com/~ubuntu-archive/madison.cgi
udd http://qa.debian.org/cgi-bin/madison.cgi
See the RMADISON_URL_MAP_ variable below for a method to add new shorthands.
--version
show version and exit
--no-conf, --noconf
don't read the devscripts configuration files
ARCH, COMPONENT and SUITE can be comma (or space) separated lists, e.g. --architecture=m68k,i386
CONFIGURATION VARIABLES
The two configuration files /etc/devscripts.conf and ~/.devscripts are sourced by a shell in that order to set configuration variables.
Command line options can be used to override configuration file settings. Environment variable settings are ignored for this purpose. The
currently recognised variables are:
RMADISON_URL_MAP_SHORTHAND=URL
Add an entry to the set of shorthand URLs listed above. SHORTHAND should be replaced with the shorthand form to be used to refer to
URL.
Multiple shorthand entries may be specified by using multiple RMADISON_URL_MAP_* variables.
RMADISON_DEFAULT_URL=URL
Set the default URL to use unless overridden by a command line option.
RMADISON_ARCHITECTURE=ARCH
Set the default architecture to use unless overridden by a command line option. To run an unrestricted query when
RMADISON_ARCHITECTURE is set, use --architecture='*'.
NOTES
dak ls also supports -r, --regex to treat PACKAGE as a regex. Since that can easily DoS the database ("-r ."), this option is not supported
by the CGI and rmadison.
dak ls was formerly called madison.
The protocol used by rmadison is fairly simple, the CGI accepts query the parameters a, b, c, g, G, s, S, t, and package. The parameter
text is passed to enable plain-text output.
SEE ALSO
madison-lite(1), dak(1).
AUTHOR
rmadison and http://qa.debian.org/madison.php were written by Christoph Berg <myon@debian.org>. dak was written by James Troup
<james@nocrew.org>, Anthony Towns <ajt@debian.org>, and others.
Debian Utilities 2013-12-23 RMADISON(1)