I can parse an output the whole of the information returned into one HTML file and print that but it's very long so it would be great to have the page(s) split - like with a NEXT prompt... But how would I split it?
I see what you're getting at. Use a different template for each page, maybye in an array; the page number would determine which template gets used. The link would look like
I don't know what that would look like in your templates.
my box is FreeBSD4.3 and I use Perl 5.0005_03.
Here is the CGI script.
test.cgi
......
if ($query->action eq 'detail') {
......
print $query->hidden('action', 'modify');
......
}
I found that the result of
test.cgi?action=detail
is not what I expected.
the script does not... (4 Replies)
Hi,
In my cgi script(written in Perl using cgi.pm) i have a checkbox and i want all the items to be checked. Here is what i use:
checkbox_group(-name=>'studenten_in_groep', -values=>\@member_keys, -defaults=>\@member_keys, -labels=>\%temp_members, -columns=>2),
But no boxes are checked...... (18 Replies)
Im having trouble getting the string I get from a cgi form to only be the value entered. I need to use that value as an argument but cant use it in the way it is returned. I get "bustype = restaurant" but I want just "restaurant" because i am going to be using that value as an argument in a csh... (3 Replies)
Hello All,
I am calling a script 'abc.pl' in my action section while creating a form. This will automatically pass parameters that are collected in the form. But I want to pass other parameters which are actually just variables in the script I am calling 'abc.pl' from. How do I make sure these... (4 Replies)
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)
Hi,
Am unfamiliar with using CGI modules in Perl.
Though i checked in few sites about CGI , i dint get a clear idea.
Can anyone please explain me the purpose of these statements, it ll be very helpful to me
#!/usr/bin/perl
use CGI qw/:standard/;
use Storable;
use Data::Dumper;
my... (1 Reply)
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)
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)
Hi Team,
I am trying to connect to database(succeeded ) and print the records on the browser using while loop. But the elements of array are not displayed instead while loop is displayed directly. Instead of the below I can embed html statements in print but I am looking for the below style as I... (1 Reply)
I am trying to get my MacBook Pro with 10.8 Mt Lion set up to run Perl CGI scripts.
Having a problem. I can start Apache Web Server with no problems.
Why do I put the static and dynamic scripts? I which directory?
I have looked at this article:... (3 Replies)
Discussion started by: djehresmann
3 Replies
LEARN ABOUT DEBIAN
hobbit-ackinfo.cgi
HOBBIT-ACKINFO.CGI(1) General Commands Manual HOBBIT-ACKINFO.CGI(1)NAME
hobbit-ackinfo.cgi - Xymon CGI script to acknowledge alerts
SYNOPSIS
hobbit-ackinfo.cgi
DESCRIPTION
hobbit-ackinfo.cgi is invoked as a CGI script via the hobbit-ackinfo.sh CGI wrapper.
hobbit-ackinfo.cgi is used to acknowledge an alert on the Xymon "Critical Systems" view, generated by the hobbit-nkview.cgi(1) utility.
This allows the staff viewing the Critical Systems view to acknowledge alerts with a "Level 1" alert, thereby removing the alert from the
Critical Systems view.
Note that the Level 1 alert generated by the hobbit-ackinfo.cgi utility does NOT stop alerts from being sent.
In a future version of Xymon (after Xymon 4.2), this utility will also be used for acknowledging alerts at other levels.
OPTIONS --level=NUMBER
Sets the acknowledgment level. This is typically used to force a specific level of the acknowledgment, e.g. a level 1 acknowledge
when called from the Critical Systems view.
--validity=TIME
Sets the validity of the acknowledgment. By default this is taken from the CGI parameters supplied by the user.
--sender=STRING
Logs STRING as the sender of the acknowledgment. By default, this is taken from the loginname of the webuser sending the acknowledg-
ment.
--env=FILENAME
Loads the environment defined in FILENAME before executing the CGI script.
--area=NAME
Load environment variables for a specific area. NB: if used, this option must appear before any --env=FILENAME option.
--debug
Enables debugging output.
ENVIRONMENT VARIABLES
BBHOME Used to locate the template files for the generated web pages.
QUERY_STRING
Contains the parameters for the CGI script.
SEE ALSO hobbit-nkview.cgi(1), xymon(7)Xymon Version 4.2.3: 4 Feb 2009 HOBBIT-ACKINFO.CGI(1)