10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I am trying to write a shell script which takes parse the web form find the input field and dump the data of that field into one xml file. The form looks like,
<input type="button" id="btnSave" value="Save" onclick="saveXmlData()"/>
<form name="submitForm"... (1 Reply)
Discussion started by: jdp
1 Replies
2. Shell Programming and Scripting
Hi All,
I have written an cgi perl script that displays an image(Excel image) and when clicked on that Image I need to download a excel sheet.
I made sure that excel sheet exists in the folder with the given name but still I am not able to download the sheet.
print "<center><table... (2 Replies)
Discussion started by: scriptscript
2 Replies
3. Shell Programming and Scripting
Hi team,
I have a typical problem with cgi pages in apache webserver in WINDOWS
I am able to execute(display) the pages that are saved in cgi-bin folder.
But I am not able to execute the pages stored in htdocs or other folder other than cgi-bin folder.
Could anyone please let me know how... (1 Reply)
Discussion started by: scriptscript
1 Replies
4. Shell Programming and Scripting
Hi All,
I am aware that html tags can be embedded in cgi script as below.. In the same way is it possible to embed the below javascript in perl cgi script ??
print("<form action="action.htm" method="post" onSubmit="return submitForm(this.Submitbutton)">");
print("<input type = "text"... (1 Reply)
Discussion started by: scriptscript
1 Replies
5. Programming
Hi
I have a bash script which takes parameters
sh /tmp/gdg.sh -b BASE-NAME -n 1 -s /source/data -p /dest/data/archive -m ARC
gdg.sh will scan the /source/data and will move the contents to /dest/data/archive after passing through some filters. Its working superb from bash
I have... (0 Replies)
Discussion started by: rakeshkumar
0 Replies
6. Web Development
Can anyone tell me how to export a variable from one perl CGI script to another perl cgi script when using a redirect.
Upon running the login.pl the user is prompted to enter user name and password. Upon entering the correct credentials (admin/admin) the user is
redirected to welcome page.
My... (3 Replies)
Discussion started by: Arun_Linux
3 Replies
7. Web Development
Hello,
Met a problem learning perl cgi script.
1 #!/usr/bin/perl -wT
2
3 use strict;
4 use CGI qw(:standard);
5
6 my $q = new CGI;
7
8 my $filename = $q->param('/home/yifangt/hello.cgi');
9 my $contenttype = $q->uploadInfo($filename)->{'Content-Type'};
10... (5 Replies)
Discussion started by: yifangt
5 Replies
8. Shell Programming and Scripting
hi,,
i have perl scipt with line :
system('./try.sh $t $d $m');
in shell scipt try.sh i have the line:
echo $1
its not printing value of $t that i hav passed..y is it so..i am running it from apache web server (2 Replies)
Discussion started by: raksha.s
2 Replies
9. Shell Programming and Scripting
Hello All,
I was trying to come up with a form using perl cgi. I then created a frame to show the output of the form. Refer below
print $display_form->start_form(-title=>"Updateuser", -style => 'font-size: 9pt; color: #202020 ; font-family: Verdana', action=>"${DOCROOT}updateUser.pl",... (4 Replies)
Discussion started by: garric
4 Replies
10. Shell Programming and Scripting
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
HOBBIT-HOSTGRAPHS.CGI(1) General Commands Manual HOBBIT-HOSTGRAPHS.CGI(1)
NAME
hobbit-hostgraphs.cgi - CGI program to show multiple graphs
SYNOPSIS
hobbit-hostgraph.cgi
DESCRIPTION
hobbit-hostgraph.cgi is invoked as a CGI script via the hobbit-hostgraph.sh CGI wrapper.
If no parameters are provided when invoked, it will present a form where the user can select a time period, one or more hosts, and a set of
graphs.
The parameters selected by the user are passed to a second invocation of hobbit-hostgraph.cgi, and result in a webpage showing a list of
graph images based on the trend data stored about the hosts.
If multiple graph-types are selected, hobbit-hostgraph.cgi will display a list of graphs, with one graph per type.
If multiple hosts are selected, hobbit-hostgraph.cgi will attempt to display a multi-host graph for each type where the graphs for all
hosts are overlayed in a single image, allowing for easy comparison of the hosts.
The hostlist uses the PAGEPATH cookie provided by Xymon webpages to select the list of hosts to present. Only the hosts visible on the page
where hobbit-hostgraph.cgi is invoked from will be visible.
The resulting graph page can be bookmarked, but the bookmark also fixates the time period shown.
OPTIONS
--env=FILENAME
Loads the environment defined in FILENAME before executing the CGI script.
BUGS
This utility is experimental. It may change in a future release of Xymon.
It is possible for the user to select graphs which do not exist. This results in broken image links.
The set of graph-types is fixed in the server/web/hostgraphs_form template and does not adjust to which graphs are available.
If the tool is invoked directly, all hosts defined in Xymon will be listed.
SEE ALSO
bb-hosts(5), hobbitserver.cfg(5)
Xymon Version 4.2.3: 4 Feb 2009 HOBBIT-HOSTGRAPHS.CGI(1)