Sponsored Content
Top Forums Shell Programming and Scripting Passing FORM(HTML) variable to ksh Post 63785 by RTM on Friday 25th of February 2005 03:50:06 PM
Old 02-25-2005
Not completely sure what you are trying to do. If you are looking to assign the query string to a variable in your ksh script, then do something like:
var1="$QUERY_STRING"

Example in this thread
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

HTML form to cgi help

I wrote a script to automate user account verification against peoplesoft. Now I want to make it available to my peers via the web. It is running on Solaris. I have the form written, but am not sure how to make it work. I think the form should call a perl cgi when submitted. The cgi should call... (7 Replies)
Discussion started by: 98_1LE
7 Replies

2. Shell Programming and Scripting

Converting %## back to special characters from an HTML form

I have an HTML form that sends email to a large list of users one at a time by matching an email address in peoplesoft to their username. It works great, except that special characters are converted to %## format. Is there a library of these I can use to sed them back (yes this is a crappy UNIX... (1 Reply)
Discussion started by: 98_1LE
1 Replies

3. UNIX for Dummies Questions & Answers

Passing KSH variable to AWK with two loops

Hi, I need some help to figure out why an outer for loop KSH variable does not decode in AWK but inner for loop does. Below is my code, If I hard code variable 'SUBSEQ' in AWK it works but if I try to pass the SUBSEQ from KSH, it does not and when I pass the variable 'NAM' from KSH it works: I... (1 Reply)
Discussion started by: chowdhut
1 Replies

4. Shell Programming and Scripting

on HTML form, Call Expect in Perl problem

Hi I have a successfullly run perl script (by issuing command "perl sub.pl" under shell mode) and this sub.pl will call sub.exp successfully. The sub.exp expect script is basically to login to a server and run some commands and put the output into a sub.txt file, it takes about 5 seconds to... (0 Replies)
Discussion started by: cxbest
0 Replies

5. Shell Programming and Scripting

Pass variable to php from html form

I am sure this is easy but I can't figure it out... Here is the form. <?php $searchString = $_POST; if (!isset($_POST)) ?> <html> <head> <title>Personal INFO</title> </head> <body> <form method="post" action="search.php"> <input type="text" size="20" maxlength="20" name="search">... (1 Reply)
Discussion started by: mrlayance
1 Replies

6. Shell Programming and Scripting

Passing value of variable in KSH

Here is a sample script demonstrating the issue x() { echo "foo" a=1 } ## the value of $a is 1 a=0 x echo $a ## the value of $a stays 0 a=0 x|sed "s/foo/bar/" echo $a Result: foo 1 (1 Reply)
Discussion started by: pbmarvin56
1 Replies

7. Solaris

man pages in html form

Hi I would like to convert standard online man pages from my solaris10 system into html form to publish it on my webpage. How this can be done in Sol10 ? thx for help. (2 Replies)
Discussion started by: presul
2 Replies

8. Shell Programming and Scripting

pass argument to html upload form

I am using an html form and a php upload script to upload files. HTML form <table width="500" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC"> <tr> <form action="upload_ac.php" method="post" enctype="multipart/form-data" name="form1" id="form1"> <td> <table... (1 Reply)
Discussion started by: anil510
1 Replies

9. Programming

Html form to submit data to bash script

hi all, im going to design a web html form so users can input what username and password they want to make the ftp account, once they enter in a username and password they click on the submit button and it submits it to a bash script and then the bash script will run and finish of making the... (3 Replies)
Discussion started by: robertkwild
3 Replies

10. UNIX for Beginners Questions & Answers

Passing output parameter(Oracle) to variable in ksh Script

Hello, I have researched and tried many way to pass OUT parameter to be stored in variable in KSH Script.Still not success, please help. Here is my Store Procedure. create procedure testout3(v_in varchar2,v_out OUT integer) as begin v_out := 1; end; Here is my testvout.ksh #!/bin/ksh... (1 Reply)
Discussion started by: palita2601
1 Replies
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)
All times are GMT -4. The time now is 05:28 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy